:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fdba74;
    --dark: #0a0a0a;
    --dark-light: #171717;
    --gray: #404040;
    --gray-light: #737373;
    --white: #fafafa;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Улучшенная навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(64, 64, 64, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: none;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.primary-button {
    background: var(--gradient);
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
}

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

.primary-button:hover::before {
    left: 100%;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(249, 115, 22, 0.4);
}

/* Кнопка для десктопной версии */
.desktop-cta {
    display: none;
}

@media (min-width: 768px) {
    .desktop-cta {
        display: inline-block;
    }
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 2rem;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.mobile-nav-link:hover {
    color: var(--primary);
    background: rgba(249, 115, 22, 0.1);
}

.mobile-cta {
    margin-top: 2rem;
}

/* Основной контент с отступом для фиксированного хедбара */
main {
    margin-top: 80px;
}

@media (max-width: 768px) {
    main {
        margin-top: 70px;
    }
}

/* Герой секция */
.hero {
    padding: 8rem 0 5rem;
    background: radial-gradient(ellipse at center top, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at center bottom, rgba(234, 88, 12, 0.15) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f97316' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    text-align: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 5rem;
    }
}

.hero-text {
    flex: 1;
    text-align: center;
    max-width: 48rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
        max-width: none;
        padding-right: 2rem;
    }
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: inherit;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
        line-height: 1.05;
    }
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.hero-title:hover .gradient-text::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    text-align: inherit;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
        font-size: 1.375rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: inherit;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.secondary-button {
    border: 2px solid var(--gray);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

.secondary-button:hover::before {
    left: 100%;
}

.secondary-button:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 450px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

@media (min-width: 1024px) {
    .hero-visual {
        margin: 0;
        transform: translateY(0);
    }
}

.code-window {
    background-color: var(--dark-light);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gray);
    transition: transform 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.code-window:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.code-header {
    padding: 0.75rem 1rem;
    background-color: rgba(23, 23, 23, 0.95);
    border-bottom: 1px solid var(--gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.control.red {
    background-color: #ef4444;
}

.control.yellow {
    background-color: #eab308;
}

.control.green {
    background-color: #22c55e;
}

.code-body {
    padding: 1rem;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark-light);
}

.code-body::-webkit-scrollbar {
    width: 8px;
}

.code-body::-webkit-scrollbar-track {
    background: var(--dark-light);
    border-radius: 4px;
}

.code-body::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 4px;
}

.code-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.code-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    animation: messageAppear 0.3s ease forwards;
}

.code-message:hover {
    background-color: rgba(249, 115, 22, 0.05);
}

.message-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    margin-top: 0.125rem;
}

.bot .message-avatar {
    background: var(--gradient);
    color: var(--dark);
}

.user .message-avatar {
    background-color: var(--gray);
    color: var(--white);
}

.message-content {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    text-align: left;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.375rem;
    flex-wrap: wrap;
    text-align: left;
}

.message-author {
    font-weight: 600;
    font-size: 0.875rem;
    text-align: left;
}

.bot .message-author {
    color: var(--primary);
}

.user .message-author {
    color: var(--white);
}

.message-time {
    font-size: 0.75rem;
    color: var(--gray-light);
    opacity: 0.7;
    text-align: left;
}

.message-text {
    color: var(--gray-light);
    margin-bottom: 0.375rem;
    line-height: 1.4;
    font-size: 0.875rem;
    word-wrap: break-word;
    text-align: left;
}

.message-text:last-child {
    margin-bottom: 0;
}

.code-snippet {
    background-color: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-family: 'Courier New', monospace;
    color: var(--primary-light);
    display: block;
    margin-top: 0.375rem;
    font-size: 0.8rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-all;
    overflow-x: auto;
    max-height: 150px;
    overflow-y: auto;
    text-align: left;
    scrollbar-width: none;
}

.code-snippet::-webkit-scrollbar {
    display: none;
}

.rating {
    display: flex;
    gap: 0.125rem;
    margin: 0.375rem 0;
    text-align: left;
}

.star {
    color: var(--primary);
    font-size: 0.875rem;
}

.star.empty {
    color: var(--gray);
}

/* Элементы управления чатом */
.chat-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-top: 1px solid var(--gray);
    background-color: rgba(23, 23, 23, 0.95);
    flex-shrink: 0;
}

.chat-button {
    background: transparent;
    border: 1px solid var(--gray);
    color: var(--gray-light);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-button:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.chat-button:active {
    transform: translateY(0);
}

.chat-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.typing-indicator {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-light);
    padding: 0.5rem 0;
    text-align: left;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--primary);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing-bounce {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 768px) {
    .hero-visual {
        height: 400px;
    }

    .code-window {
        min-height: 400px;
        transform: none;
    }

    .code-message {
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .message-avatar {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.7rem;
    }

    .message-author {
        font-size: 0.8rem;
    }

    .message-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .code-snippet {
        font-size: 0.75rem;
        padding: 0.5rem;
        max-height: 120px;
    }

    .code-body {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .chat-controls {
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .chat-button {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 350px;
    }

    .code-window {
        min-height: 350px;
    }

    .chat-controls {
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .chat-button {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* Возможности */
.features {
    padding: 6rem 0;
    background-color: var(--dark-light);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f97316' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.section-description {
    color: var(--gray-light);
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

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

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--dark);
    border: 1px solid var(--gray);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card>* {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--dark);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray-light);
}

/* Дорожная карта */
.roadmap {
    padding: 6rem 0;
    background-color: var(--dark);
    position: relative;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.roadmap-container {
    position: relative;
    z-index: 1;
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient);
}

@media (max-width: 768px) {
    .roadmap-item {
        flex-direction: row;
        align-items: flex-start;
        min-height: 120px;
    }
}

.roadmap-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.roadmap-item {
    display: flex;
    position: relative;
    align-items: center;
}

@media (min-width: 768px) {
    .roadmap-item:nth-child(odd) {
        flex-direction: row;
    }

    .roadmap-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .roadmap-item {
        flex-direction: row;
        align-items: flex-start;
        min-height: 120px;
    }
}

.roadmap-content {
    flex: 1;
    background-color: var(--dark-light);
    border: 1px solid var(--gray);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

@media (min-width: 769px) {
    .roadmap-item:nth-child(odd) .roadmap-content {
        margin-right: 0;
    }

    .roadmap-item:nth-child(even) .roadmap-content {
        margin-left: 0;
    }

    .roadmap-content {
        margin-left: 0;
    }
}

.roadmap-marker {
    width: 3rem;
    height: 3rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
    flex-shrink: 0;
    position: absolute;
    z-index: 10;
    box-shadow: 0 0 0 6px var(--dark), 0 4px 12px rgba(249, 115, 22, 0.3);
    border: 2px solid rgba(249, 115, 22, 0.3);
    display: none;
}

@media (max-width: 768px) {
    .roadmap-marker {
        display: flex;
        left: 0;
        top: 1rem;
        transform: none;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.875rem;
    }

    .roadmap-content {
        margin-left: 4rem;
        margin-top: 0;
    }
}

.roadmap-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.roadmap-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.in-progress {
    background-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.planned {
    background-color: rgba(249, 115, 22, 0.2);
    color: var(--primary);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.roadmap-description {
    color: var(--gray-light);
    line-height: 1.6;
}

/* FAQ */
.faq {
    padding: 6rem 0;
    background-color: var(--dark-light);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f97316' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background-color: var(--dark);
    border: 1px solid var(--gray);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(249, 115, 22, 0.05);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s;
    color: var(--primary);
}

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

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--gray-light);
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

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

/* CTA */
.cta {
    padding: 6rem 0;
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.badge-text {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(234, 88, 12, 0.2) 100%);
    color: var(--primary);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
    }

    50% {
        box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3), 0 0 20px rgba(249, 115, 22, 0.1);
    }
}

.badge-text {
    animation: pulse-glow 3s ease-in-out infinite;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Футер */
.footer {
    background-color: var(--dark-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gray);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--gray-light);
    max-width: 20rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.footer-link {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--gray);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-light);
}

/* Модальное окно */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal.closing {
    opacity: 0;
}

.modal-content {
    background-color: var(--dark-light);
    border: 1px solid var(--gray);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 28rem;
    width: 100%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-body {
    margin-bottom: 2rem;
}

.modal-message {
    color: var(--gray-light);
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

.modal-button {
    background: var(--gradient);
    color: var(--dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Адаптивность */
@media (max-width: 640px) {
    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-content {
        gap: 3rem;
    }

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

    .hero-description {
        font-size: 1.125rem;
    }

    .features,
    .roadmap,
    .faq,
    .cta {
        padding: 4rem 0;
    }

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

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

    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .roadmap-content {
        margin-left: 3.5rem;
        padding: 1.5rem;
    }

    .roadmap-marker {
        width: 2.25rem;
        height: 2.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

html {
    scroll-behavior: smooth;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark-light);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.code-body {
    overflow-anchor: none;
}