﻿/* ============================================================
   Mobilline.uz — Fixed CSS
   All responsive issues resolved
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --red-300: #ff9aa2;
    --red-400: #ff6b7a;
    --red-500: #f03e5e;
    --red-600: #d81e40;
    --red-700: #b8153a;
    --red-900: #7a0f26;
    --red-glow: rgba(216, 30, 64, .55);
    --red-ghost: rgba(216, 30, 64, .12);
    --red-bg: rgba(216, 30, 64, 0.3);
    --bg-0: #020203;
    --bg-1: #050509;
    --bg-2: #09090f;
    --bg-3: #0e0e18;
    --text-0: #ffffff;
    --text-1: #efeff5;
    --text-2: #c4c4d1;
    --text-3: #9696a8;
    --text-4: #6a6a7c;
    --border-1: rgba(255, 255, 255, .05);
    --border-2: rgba(255, 255, 255, .10);
    --border-3: rgba(216, 30, 64, .4);
    --glass-bg: rgba(9, 9, 15, .72);
    --glass-border: rgba(255, 255, 255, .07);
    --glass-shadow: 0 24px 60px rgba(0, 0, 0, .65);
    --glass-radius: 28px;
    --max-width: 1200px;
    --nav-height: 70px;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-1);
    background-color: var(--bg-0);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* ---------- Custom Cursor ---------- */
.cursor,
.cursor-dot {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cursor {
    width: 22px;
    height: 22px;
    border: 2px solid var(--red-400);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--red-400);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
}

/* ---------- Selection & Scrollbar ---------- */
::selection {
    color: var(--text-0);
    background: rgba(216, 30, 64, .55);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-0);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-3);
    border-radius: 999px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

p {
    color: var(--text-3);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

/* ---------- Container ---------- */
.container-narrow {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.text-gradient {
    background: linear-gradient(135deg, var(--red-400) 0%, var(--red-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--red-400);
}

/* ---------- Accessibility ---------- */
.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;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--red-600);
    color: #fff;
    padding: 8px 16px;
    z-index: 100001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: rgba(2, 2, 3, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-1);
    transition: background 0.35s ease;
}

.navbar.scrolled {
    background: rgba(2, 2, 3, 0.95);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.navbar-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    padding: 3px;
}

.navbar-brand img,
.footer-brand img,
.loader-logo img {
    background: #fff;
    border: 2px solid rgba(255, 255, 255, .1);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

/* Hide nav links on mobile */
@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .lang-switcher {
        margin-right: 0.5rem;
    }

    .navbar-toggler {
        display: block;
        background: none;
        border: 1px solid var(--border-2);
        border-radius: 10px;
        padding: 0.4rem 0.6rem;
        color: var(--text-1);
        font-size: 1.25rem;
        cursor: pointer;
    }
}

/* Show nav links on desktop */
@media (min-width: 768px) {
    .navbar-toggler {
        display: none;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 14px;
    color: var(--text-3);
}

.nav-link.active,
.nav-link:hover {
    color: var(--red-400);
    background: var(--red-ghost);
}

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

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border-radius: 14px;
    color: var(--text-3);
    background: none;
    border: 1px solid var(--border-2);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.lang-toggle:hover {
    color: var(--red-400);
    border-color: var(--red-400);
    background: var(--red-ghost);
}

.lang-toggle i {
    font-size: 1rem;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    padding: 0.4rem;
    min-width: 130px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-btn {
    display: block;
    width: 100%;
    padding: 0.55rem 0.9rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-3);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: var(--red-ghost);
    color: var(--red-400);
}

.lang-btn.active {
    background: var(--red-ghost);
    color: var(--red-400);
    font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
    background: var(--bg-0);
    width: 100%;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.hero-mesh,
.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    max-width: 100vw;
}

.hero-orb--1 {
    width: 400px;
    height: 400px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(216, 30, 64, 0.4), transparent 70%);
}

.hero-orb--2 {
    width: 350px;
    height: 350px;
    bottom: -10%;
    left: -5%;
    background: radial-gradient(circle, rgba(216, 30, 64, 0.35), transparent 70%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-3);
    border-radius: 999px;
    color: var(--red-400);
    font-weight: 600;
    font-size: 0.875rem;
    background: var(--red-ghost);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-lead {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-3);
    max-width: 100%;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    font-size: 1rem;
    justify-content: center;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    box-shadow: 0 10px 30px var(--red-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(216, 30, 64, 0.7);
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
    position: relative;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--red-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-3);
    font-size: 1.05rem;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.7;
}

.section-subtitle--center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-2), transparent);
    margin: 0 20px;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-2);
    border: 1px solid var(--border-1);
    border-radius: 20px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--red-400);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--text-3);
    font-size: 0.85rem;
}

.about-media {
    position: relative;
}

.about-thumb {
    border-radius: var(--glass-radius);
    border: 1px solid var(--border-1);
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
    color: var(--red-400);
    font-size: 4rem;
}

.about-thumb span {
    color: var(--text-3);
    font-size: 1rem;
    margin-top: 0.8rem;
}

.about-chip {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 100%;
}

.about-chip i {
    font-size: 2rem;
    color: var(--red-400);
}

.about-chip strong {
    display: block;
    color: var(--text-0);
    font-weight: 700;
    font-size: 1rem;
}

.about-chip p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-3);
}

/* ---------- Products ---------- */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-radius);
    padding: 2rem;
    transition: all 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--red-400);
    background: var(--red-bg);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 0.8rem;
}

.card-text {
    color: var(--text-3);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-2);
    font-size: 0.9rem;
}

.card-list li i {
    color: var(--red-400);
}

.gradient-border {
    position: relative;
    overflow: hidden;
}

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-radius);
    transition: all 0.35s ease;
}

.service:hover {
    transform: translateY(-8px);
    border-color: var(--border-3);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.25rem;
    color: var(--red-400);
    background: var(--red-bg);
}

.service h4 {
    color: var(--text-0);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.service p {
    color: var(--text-3);
    font-size: 0.9rem;
}

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-2);
    border: 1px solid var(--border-1);
    border-radius: 20px;
    transition: all 0.35s ease;
}

.feature:hover {
    transform: translateX(6px);
    border-color: var(--border-3);
}

.feature-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    flex-shrink: 0;
}

.feature h4 {
    color: var(--text-0);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.feature p {
    color: var(--text-3);
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-card,
.contact-form {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-radius);
}

.contact-card h3 {
    color: var(--text-0);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-400);
    background: var(--red-bg);
    flex-shrink: 0;
    font-size: 1.25rem;
}

.contact-row strong {
    display: block;
    color: var(--text-0);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-row p {
    margin: 0;
    color: var(--text-3);
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

.form-control {
    width: 100%;
    background: var(--bg-1);
    border: 1px solid var(--border-1);
    color: var(--text-0);
    padding: 1rem;
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--red-500);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-1);
    border-top: 1px solid var(--border-1);
    padding: 0;
    width: 100%;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    padding: 3px;
}

.footer-text {
    color: var(--text-3);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-heading {
    color: var(--text-0);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-3);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: var(--red-400);
    padding-left: 4px;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-2);
    border: 1px solid var(--border-1);
    color: var(--text-3);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--red-600);
    border-color: var(--red-600);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.1rem;
}

.footer-contact li i {
    color: var(--red-400);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-label {
    display: block;
    color: var(--text-4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.footer-contact a,
.footer-contact span {
    color: var(--text-3);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--red-400);
}

/* Footer Newsletter */
/* Footer Bottom */
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
    color: var(--text-4);
    font-size: 0.85rem;
}

.footer-bottom-right {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-right a {
    color: var(--text-4);
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-bottom-right a:hover {
    color: var(--red-400);
}

/* ---------- Loading ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--bg-0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

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

.loader-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.loader-bar {
    width: 160px;
    height: 3px;
    background: var(--bg-2);
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-600), var(--red-400));
    z-index: 10001;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-400);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ---------- Reveal Animation ---------- */
.reveal,
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.visible,
.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Mobile Menu ---------- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 2, 3, 0.98);
    backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin: 1.25rem 0;
}

.mobile-menu-links a {
    color: var(--text-0);
    font-size: 1.5rem;
    font-weight: 700;
}

.mobile-lang-switcher {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-1);
}

.mobile-lang-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--border-2);
    background: transparent;
    color: var(--text-3);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mobile-lang-btn:hover {
    border-color: var(--red-400);
    color: var(--red-400);
}

.mobile-lang-btn.active {
    background: var(--red-ghost);
    border-color: var(--red-400);
    color: var(--red-400);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-0);
    cursor: pointer;
}

/* ---------- Gallery ---------- */
.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--glass-radius);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-slide {
    min-width: 100%;
    flex-shrink: 0;
    width: 100%;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: block;
    background: var(--bg-2);
    width: 100%;
    height: auto;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 3, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: #fff;
    background: var(--red-ghost);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-0);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-btn:hover {
    background: var(--red-600);
    border-color: var(--red-600);
}

.gallery-btn--prev {
    left: 16px;
}

.gallery-btn--next {
    right: 16px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-dot.active {
    background: var(--red-400);
    width: 28px;
    border-radius: 999px;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

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

.gallery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 3, 0.95);
    backdrop-filter: blur(30px);
}

.gallery-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--glass-radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: none;
}

.gallery-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-0);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-modal-close:hover {
    background: var(--red-600);
    border-color: var(--red-600);
}

.gallery-modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-0);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-modal-btn:hover {
    background: var(--red-600);
    border-color: var(--red-600);
}

.gallery-modal-btn--prev {
    left: -60px;
}

.gallery-modal-btn--next {
    right: -60px;
}

.gallery-modal-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-3);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---------- Blog ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.blog-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-radius);
    overflow: hidden;
    transition: all 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.blog-thumb {
    position: relative;
    overflow: hidden;
    background: var(--bg-2);
}

.blog-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    color: var(--text-1);
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-body {
    padding: 1.5rem;
}

.blog-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--red-ghost);
    border: 1px solid var(--border-3);
    border-radius: 999px;
    color: var(--red-400);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.blog-title {
    color: var(--text-0);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    color: var(--text-3);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--red-400);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 0.8rem;
}

.blog-link i {
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(3px);
}

/* ---------- Responsive ---------- */

/* Tablet & Desktop */
@media (min-width: 768px) {
    .container-narrow {
        padding: 0 40px;
    }

    .section-divider {
        margin: 0 40px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 5rem);
    }

    .section-title {
        font-size: clamp(2rem, 4.5vw, 3.5rem);
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .gallery-modal-btn--prev {
        left: -60px;
    }

    .gallery-modal-btn--next {
        right: -60px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.2fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large Desktop */
@media (min-width: 1024px) {
    .section {
        padding: 120px 0;
    }

    .section-header {
        margin-bottom: 5rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-orb--1 {
        width: 500px;
        height: 500px;
    }

    .hero-orb--2 {
        width: 450px;
        height: 450px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --nav-height: 60px;
    }

    body {
        cursor: auto;
    }

    .cursor,
    .cursor-dot {
        display: none !important;
    }

    .btn {
        cursor: pointer;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        width: 32px;
        height: 32px;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .service,
    .feature {
        padding: 1.5rem;
    }

    .contact-card,
    .contact-form {
        padding: 1.5rem;
    }

    .footer-contact li {
        gap: 0.6rem;
    }

    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-btn--prev {
        left: 8px;
    }

    .gallery-btn--next {
        right: 8px;
    }

    .gallery-overlay i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .gallery-modal-content {
        width: 95%;
    }

    .gallery-modal-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .gallery-modal-btn--prev {
        left: -45px;
    }

    .gallery-modal-btn--next {
        right: -45px;
    }

    .gallery-modal-close {
        top: -45px;
        right: 0;
    }

    .blog-card {
        padding: 0;
    }

    .blog-body {
        padding: 1.25rem;
    }

    .about-chip {
        width: 100%;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container-narrow {
        padding: 0 16px;
    }

    .section-divider {
        margin: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .section {
        padding: 60px 0;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 1.25rem;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .product-card {
        padding: 1.25rem;
    }

    .blog-body {
        padding: 1rem;
    }

    .blog-title {
        font-size: 1.05rem;
    }

    .gallery-modal-btn--prev {
        left: 5px;
    }

    .gallery-modal-btn--next {
        right: 5px;
    }

    .gallery-modal-close {
        top: -40px;
        right: 0;
    }

    .card-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Blog Post ---------- */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--glass-radius);
    margin-bottom: 2rem;
}

.blog-post-thumb .blog-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.blog-post-thumb .blog-date {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    color: var(--text-1);
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-post-body {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-0);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-1);
    color: var(--text-4);
    font-size: 0.9rem;
}

.blog-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-post-meta i {
    color: var(--red-400);
}

.blog-post-content {
    color: var(--text-2);
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-2);
}

.blog-post-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-0);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.blog-post-content strong {
    color: var(--text-1);
    font-weight: 600;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--red-500);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: var(--red-ghost);
    border-radius: 0 14px 14px 0;
    color: var(--text-1);
    font-style: italic;
    font-size: 1.1rem;
}

.blog-post-content br + strong {
    display: block;
    margin-top: 0.5rem;
}

.blog-post .btn {
    margin-top: 2rem;
}

/* Print */
@media print {
    .navbar,
    .cursor,
    .cursor-dot,
    .scroll-progress,
    .back-to-top,
    .mobile-menu-overlay,
    .loader {
        display: none !important;
    }
}

/* ---------- PWA Install ---------- */
.pwa-install {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 998;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--glass-shadow);
}

.pwa-install__title {
    color: var(--text-1);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.pwa-install__btn {
    background: var(--red-500);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}