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

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #151515;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --text-accent: #00ff88;
    --text-accent-secondary: #7affb3;
    --accent: #00ff88;
    --accent-hover: #00cc6a;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --glow-color: rgba(0, 255, 136, 0.25);
    --glow-purple: rgba(168, 85, 247, 0.3);
    --glow-blue: rgba(59, 130, 246, 0.3);
}

html {
    height: 100%;
    background: #000000;
    overflow-x: hidden;
    scroll-behavior: auto;
}

html, body {
    scroll-padding-top: 0;
    scroll-margin-top: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* Для мобильных браузеров */
    margin: 0;
    padding: 0;
    top: 0;
}

@media (max-width: 640px) {
    body {
        background-attachment: scroll;
        background: #000000;
        position: relative;
        top: 0;
        left: 0;
    }
    
    html {
        background: #000000;
        position: relative;
        top: 0;
        left: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #00ff88 0%, #7affb3 50%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 255, 136, 0.1);
}

.highlight {
    color: #ffffff;
    font-weight: 600;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh; /* Для мобильных браузеров */
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
                #000000; /* Фон на случай, если градиенты не покрывают */
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 12px var(--glow-color);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
    background: var(--text-primary);
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 18s;
    background: var(--accent-purple);
    box-shadow: 0 0 15px var(--accent-purple);
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 22s;
    background: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue);
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 19s;
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 21s;
    background: var(--text-secondary);
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 136, 0.15);
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.08);
}

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

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--glow-color));
    transition: all 0.3s ease;
}

.logo-link:hover .logo-image {
    filter: drop-shadow(0 0 12px var(--glow-color));
    transform: rotate(5deg);
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--glow-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes glow {
    from {
        text-shadow: 0 0 15px var(--glow-color);
    }
    to {
        text-shadow: 0 0 25px var(--glow-color), 0 0 35px var(--glow-color);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--text-primary), var(--text-secondary));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--text-primary);
}

.nav-link:hover {
    color: #ffffff;
}

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

/* Мобильное меню - скрыто по умолчанию */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--text-primary);
    box-shadow: 0 0 15px var(--glow-color);
}

.mobile-menu-toggle.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 20px var(--glow-color);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--glow-color);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    right: 15px;
    width: calc(100% - 30px);
    max-width: 300px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    color: var(--text-primary);
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    text-shadow: 0 0 10px var(--glow-color);
    transform: translateX(5px);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
    scroll-margin-top: 0;
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
        padding-top: 70px; /* Компенсация для header */
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease-out;
}

.hero-badge span {
    color: #ffffff;
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #ffffff;
}

.hero-title .gradient-text {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: none;
    animation: none;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-subtitle strong {
    color: #ffffff;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.5s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.6s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, #00b359, #00cc6a);
    color: var(--bg-primary);
    box-shadow: 0 0 25px rgba(0, 179, 89, 0.4), 0 4px 15px rgba(0, 179, 89, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00cc6a, #00d973);
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 179, 89, 0.5), 0 6px 20px rgba(0, 179, 89, 0.4);
}

.btn-secondary {
    background: rgba(0, 255, 136, 0.1);
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 25px var(--glow-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

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

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

.phone-container {
    position: relative;
    width: 320px;
    height: 693px;
    perspective: 1000px;
}

.phone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 
        0 0 50px rgba(0, 255, 136, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 255, 136, 0.08);
    border: 2px solid rgba(0, 255, 136, 0.2);
    animation: phoneFloat 3s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-10px) rotateY(2deg);
    }
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 42px;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #000;
    border-radius: 15px;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 42px;
}

/* Servers Section */
.servers {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
    color: #ffffff;
}

.section-title .gradient-text {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: none;
    animation: none;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.server-rack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.server-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.server-item:hover::before {
    left: 100%;
}

.server-item:hover {
    transform: translateX(10px);
    border-color: var(--text-primary);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.server-flag {
    font-size: 40px;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.server-info {
    flex: 1;
}

.server-name {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}

.server-location {
    font-size: 14px;
    color: var(--text-muted);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dots {
    display: flex;
    gap: 5px;
}

.status-dots .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--glow-color);
    animation: dotBlink 1.4s ease-in-out infinite;
}

.status-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.status-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.status-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBlink {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.status-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.15), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--text-primary);
    box-shadow: 0 15px 50px rgba(0, 255, 136, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    color: var(--text-primary);
    stroke-width: 1.5;
    animation: floatIcon 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--glow-color));
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.5s;
    color: var(--accent-purple);
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 1s;
    color: var(--accent-blue);
}

.feature-card:nth-child(4) .feature-icon {
    animation-delay: 1.5s;
    color: var(--accent-cyan);
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-text strong {
    color: #ffffff;
    font-weight: 600;
}

.highlight {
    color: #ffffff;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.about-card {
    padding: 50px 40px;
    border-radius: 20px;
    text-align: left;
}

.about-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text strong {
    color: #ffffff;
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    padding: 60px 40px;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.cta-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-title .gradient-text {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: none;
    animation: none;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(0, 255, 136, 0.15);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    animation: fadeInUp 1s ease-out;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.footer-section {
    flex: 1;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    color: var(--text-muted);
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-container {
        width: 280px;
        height: 606px;
    }

    .phone-frame {
        border-radius: 45px;
        padding: 7px;
    }

    .phone-screen {
        border-radius: 38px;
    }

    .dynamic-island {
        width: 88px;
        height: 26px;
        border-radius: 13px;
        top: 6px;
    }

    .phone-screenshot {
        border-radius: 38px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .server-item {
        padding: 15px 20px;
    }

    .server-flag {
        font-size: 32px;
    }

    .header {
        padding: 15px 0;
    }
}

@media (max-width: 640px) {
    /* Header - уменьшенный размер */
    .header {
        padding: 12px 0;
    }

    .logo-image {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-dot {
        width: 8px;
        height: 8px;
    }

    /* Скрываем обычную навигацию на мобильных */
    .nav {
        display: none;
    }

    /* Показываем кнопку-гамбургер */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero секция - оптимизация для мобильных */
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .hero .container {
        gap: 30px;
    }

    .hero-badge {
        padding: 6px 16px;
        font-size: 12px;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .hero-stats {
        gap: 15px;
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Смартфон - значительно уменьшен */
    .phone-container {
        width: 180px;
        height: 390px;
    }

    .phone-frame {
        border-radius: 35px;
        padding: 5px;
    }

    .phone-screen {
        border-radius: 30px;
    }

    .dynamic-island {
        width: 60px;
        height: 18px;
        border-radius: 9px;
        top: 4px;
    }

    .phone-screenshot {
        border-radius: 30px;
    }

    /* Секции */
    .section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }

    .servers {
        padding: 60px 0;
    }

    .features {
        padding: 60px 0;
    }

    .about {
        padding: 60px 0;
    }

    .cta {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-subtitle {
        font-size: 16px;
    }

    /* Кнопки */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }

    /* Серверы */
    .server-item {
        padding: 12px 15px;
        gap: 12px;
    }

    .server-name {
        font-size: 16px;
    }

    .server-location {
        font-size: 12px;
    }

    .server-flag {
        font-size: 24px;
    }

    .status-text {
        font-size: 12px;
    }

    /* Features */
    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-description {
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-link {
        font-size: 13px;
    }
}
