:root {
    --color-primary: #ff2442;
    --color-primary-dark: #e01f3a;
    --color-primary-light: #ff4d63;
    --color-secondary: #fe2c55;
    --color-accent: #00c853;
    --color-dark: #0f0f0f;
    --color-gray-900: #1a1a1a;
    --color-gray-800: #2d2d2d;
    --color-gray-700: #404040;
    --color-gray-600: #525252;
    --color-gray-500: #737373;
    --color-gray-400: #a3a3a3;
    --color-gray-300: #d4d4d4;
    --color-gray-200: #e5e5e5;
    --color-gray-100: #f5f5f5;
    --color-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff2442 0%, #ff6b6b 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
    background: rgba(255, 36, 66, 0.05);
}

.nav-link.nav-cta {
    color: var(--color-white);
    background: var(--gradient-primary);
    margin-left: 8px;
}

.nav-link.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 36, 66, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(0, 200, 83, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

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

.hero-content {
    color: var(--color-white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray-300);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-primary {
    color: var(--color-white);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    width: 100%;
    max-width: 500px;
    background: var(--color-gray-800);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: var(--color-gray-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red {
    background: #ff5f57;
}

.mockup-dot.yellow {
    background: #febc2e;
}

.mockup-dot.green {
    background: #28c840;
}

.mockup-content {
    display: flex;
    padding: 20px;
    gap: 20px;
    min-height: 300px;
}

.mockup-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 60px;
}

.sidebar-item {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-item.active {
    background: var(--color-primary);
}

.mockup-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mockup-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    min-height: 80px;
}

.mockup-card.small {
    min-height: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(255, 36, 66, 0.1);
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.features {
    padding: 100px 0;
    background: var(--color-gray-100);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 36, 66, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 36, 66, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}

.advantages {
    padding: 100px 0;
    background: var(--color-white);
}

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

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.advantage-item {
    display: flex;
    gap: 24px;
}

.advantage-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 36, 66, 0.15);
    line-height: 1;
}

.advantage-content {
    flex: 1;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.advantage-description {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}

.advantages-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    max-width: 400px;
    background: var(--color-gray-900);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--color-gray-800);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-dots {
    display: flex;
    gap: 8px;
}

.visual-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.visual-dots span:first-child {
    background: #ff5f57;
}

.visual-dots span:nth-child(2) {
    background: #febc2e;
}

.visual-dots span:last-child {
    background: #28c840;
}

.visual-title {
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

.visual-content {
    padding: 24px;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tech-icon {
    font-size: 1.5rem;
}

.tech-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-white);
}

.usage {
    padding: 100px 0;
    background: var(--color-gray-100);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 50%;
    z-index: 1;
}

.step:not(:last-child)::before {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 2px;
    background: var(--color-gray-300);
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--gradient-primary);
    border-radius: 50%;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.step-description {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}

.faq {
    padding: 100px 0;
    background: var(--color-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item[open] {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--color-gray-400);
    transition: transform var(--transition-fast);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.7;
}

.download {
    padding: 100px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 36, 66, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.download-info {
    color: var(--color-white);
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-description {
    font-size: 1.125rem;
    color: var(--color-gray-300);
    margin-bottom: 32px;
}

.download-meta {
    display: flex;
    gap: 32px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--color-gray-300);
}

.meta-item svg {
    width: 20px;
    height: 20px;
}

.download-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 48px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-fast);
}

.btn-download svg {
    width: 24px;
    height: 24px;
}

.btn-download:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 36, 66, 0.3);
}

.download-note {
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

.footer {
    background: var(--color-dark);
    padding: 60px 0 30px;
}

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

.footer-brand {
    color: var(--color-white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    color: var(--color-primary);
}

.footer-description {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list a {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        margin-bottom: 40px;
    }

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

    .hero-description {
        margin: 0 auto 32px;
    }

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

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

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

    .advantages-content {
        grid-template-columns: 1fr;
    }

    .advantages-visual {
        order: -1;
    }

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

    .step:nth-child(2)::after,
    .step:nth-child(2)::before {
        display: none;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-meta {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        box-shadow: var(--shadow-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

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

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

    .step::after,
    .step::before {
        display: none !important;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

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

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

    .btn-lg {
        width: 100%;
    }

    .download-meta {
        flex-direction: column;
        gap: 16px;
    }
}

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

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

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}
