* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent: #22c55e;
    --accent-hover: #16a34a;
    --accent-secondary: #0066ff;
    --border-color: #2a2a2a;
    --code-green: #22c55e;
    --code-blue: #00aaff;
    --code-purple: #aa88ff;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.link_pwa {
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}

.position_btn {
  display: flex;
  justify-content: center;
  }

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.code-symbol {
    color: var(--code-blue);
    font-weight: 400;
}

.burger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 0;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: none;
}

.cta-button-menu {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 0;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 180px;
    white-space: nowrap;
}

.cta-button-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.3s;
    z-index: 0;
}

.cta-button-menu::after {
    display: none;
}

.cta-button-menu span {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.cta-button-menu:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.2);
}

.cta-button-menu:hover::before {
    left: 0;
}

.cta-button-menu:hover span {
    color: var(--bg-primary);
}

.cta-button-menu:hover .button-arrow {
    transform: translateX(5px);
    color: var(--bg-primary);
}

main {
    margin-top: 70px;
}

.hero {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 150px 2rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.code-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, var(--accent) 2px, var(--accent) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, var(--accent) 2px, var(--accent) 4px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.terminal-prompt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: var(--code-green);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.prompt-symbol {
    color: var(--accent);
}

.typing-text {
    color: var(--text-primary);
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: var(--text-secondary);
    font-weight: 300;
}

.cta-button {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 0.4s both;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width: 200px;
    white-space: nowrap;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.3s;
    z-index: 0;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}

.cta-button:hover::before {
    left: 0;
}

.button-arrow {
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.about {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.tech-item {
    padding: 0.7rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: default;
}

.tech-item:hover {
    background: var(--bg-primary);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.15);
}

.services {
    background: var(--bg-primary);
}

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

.service-card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border: 1px solid rgba(42, 42, 42, 0.5);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    background: rgba(17, 17, 17, 0.8);
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.features {
    background: var(--bg-primary);
}

.features-content {
    margin-top: 3rem;
}

.features-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 200px;
    height: 400px;
    background: var(--bg-tertiary);
    border: 3px solid var(--border-color);
    border-radius: 30px;
    padding: 15px;
    position: relative;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.08);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
}

.app-icon-large {
    font-size: 4rem;
}

.app-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

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

.feature-item {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid rgba(42, 42, 42, 0.5);
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(17, 17, 17, 0.8);
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.install {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.install-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.install-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    flex-shrink: 0;
}

.phone-mockup-small {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.phone-frame {
    width: 100%;
    aspect-ratio: 9/16;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 8px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.phone-screen-small {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.mockup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.browser-bar {
    background: var(--bg-tertiary);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.browser-url {
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
}

.browser-menu {
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
}

.screen-content {
    padding: 20px;
    height: calc(100% - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 0.8rem;
}

.install-prompt {
    text-align: center;
    color: var(--accent);
    font-weight: 500;
}

.menu-list {
    padding: 10px 0;
}

.menu-item {
    padding: 12px 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.menu-option {
    padding: 12px 20px;
    color: var(--accent);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.install-dialog {
    padding: 30px 20px;
    text-align: center;
}

.dialog-title {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.dialog-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.dialog-btn {
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.85rem;
    cursor: pointer;
}

.dialog-btn.cancel {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.dialog-btn.install {
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 600;
}

.progress-bar {
    width: 80%;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin: 20px auto;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    width: 60%;
    animation: progress 2s ease;
}

@keyframes progress {
    from { width: 0; }
    to { width: 60%; }
}

.progress-text {
    text-align: center;
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 10px;
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.success-text {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
}

.home-screen {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 20px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding-top: 40px;
}

.home-app-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

.home-app-label {
    color: var(--text-primary);
    font-size: 0.7rem;
    text-align: center;
    margin-top: 5px;
}

.app-launch {
    padding: 30px 20px;
    text-align: center;
}

.app-header {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 20px;
}

.app-content {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.app-ready {
    padding: 40px 20px;
    text-align: center;
}

.ready-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.ready-text {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
}

.step-description h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.step-description p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.faq {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border: 1px solid rgba(42, 42, 42, 0.5);
    margin-bottom: 1rem;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.faq-item.active {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(34, 197, 94, 0.5);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    transition: transform 0.3s, color 0.3s;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
}

footer {
    background: var(--bg-primary);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

footer .container {
    padding: 0;
}

.fixed-download-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--accent);
    padding: 0.75rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 0.85rem;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFadeIn 0.5s ease 1s forwards;
}

.fixed-download-btn:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

.fixed-download-btn.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.download-icon {
    font-size: 1rem;
    transition: transform 0.3s;
    display: inline-block;
}

.fixed-download-btn:hover .download-icon {
    transform: scale(1.1);
}

.download-text {
    white-space: nowrap;
}

@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .burger-menu {
        display: flex;
    }

    nav {
        padding: 0 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        border-right: 1px solid var(--border-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 0 15px rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .nav-cta {
        display: flex;
        justify-content: center;
        margin-left: 0;
        margin-top: 2rem;
        width: 100%;
        border-bottom: none;
    }

    .cta-button-menu {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .container {
        padding: 3rem 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 2.2rem;
    }

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

    .install-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Мобильные устройства и планшеты (до 768px) */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        border-right: 1px solid var(--border-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 0 15px rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .nav-cta {
        display: flex;
        justify-content: center;
        margin-left: 0;
        margin-top: 2rem;
        width: 100%;
        border-bottom: none;
    }

    .cta-button-menu {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .hero {
        padding: 120px 1.5rem 80px;
        min-height: calc(100vh - 70px);
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .terminal-prompt {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }

    .container {
        padding: 2.5rem 1.5rem;
    }

    section {
        padding: 2.5rem 0;
    }

    section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .about p {
        font-size: 1rem;
    }

    .tech-stack {
        gap: 0.8rem;
    }

    .tech-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .phone-mockup-small {
        max-width: 260px;
    }

    .faq-question {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .fixed-download-btn {
        bottom: 15px;
        right: 15px;
        padding: 0.7rem 1.1rem;
        font-size: 0.8rem;
    }

    .faq-answer {
        padding: 0 1.2rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.2rem 1.2rem;
    }

    footer {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Маленькие мобильные устройства (до 480px) */
@media (max-width: 480px) {
    nav {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        padding: 4rem 1.5rem 2rem;
    }

    .hero {
        padding: 100px 1rem 60px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .terminal-prompt {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    section {
        padding: 2rem 0;
    }

    section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .about p {
        font-size: 0.95rem;
    }

    .tech-item {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

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

    .feature-item {
        padding: 1.5rem;
    }

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

    .phone-mockup-small {
        max-width: 120px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-icon {
        font-size: 1.3rem;
        width: 20px;
        height: 20px;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    .fixed-download-btn {
        bottom: 15px;
        right: 15px;
        padding: 0.65rem 1rem;
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .download-icon {
        font-size: 0.9rem;
    }
}

/* Очень большие экраны (более 1400px) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    nav {
        max-width: 1400px;
    }
}
