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

:root {
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-primary: #3a6c5f;
    --color-accent: #50af95;
    --color-text: #4a4a4a;
    --color-border: #d6d6d6;
    --color-bg-light: #fafafa;
    --font-family: "PP Mori", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 72px;
    --spacing-xxl: 120px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.header {
    position: sticky;
    top: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 32px;
    display: block;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

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

.btn-connect {
    padding: 10px 24px;
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
    outline: none;
    border-radius: 200px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
}

.btn-connect:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: rgba(22, 47, 41, 0.03);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md);
    flex-direction: column;
    gap: var(--spacing-sm);
    z-index: 999;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 16px;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--color-border);
}

.btn-connect.mobile {
    margin-top: var(--spacing-sm);
    width: 100%;
}

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-white);
    padding: var(--spacing-xxl) var(--spacing-md);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(0deg, var(--color-primary) 0px, var(--color-primary) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, var(--color-primary) 0px, var(--color-primary) 1px, transparent 1px, transparent 40px);
    pointer-events: none;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    border: 2px solid var(--color-accent);
    opacity: 0.1;
    transform: rotate(45deg);
}

.hero-pattern::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 300px;
    height: 300px;
    border: 1px solid var(--color-primary);
    opacity: 0.08;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-text {
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 48px;
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 200px;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.about {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-white);
}

.about-content {
    margin-bottom: var(--spacing-xl);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-paragraph {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    padding-left: var(--spacing-md);
    border-left: 2px solid var(--color-border);
}

.about-paragraph:last-child {
    margin-bottom: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature-card {
    padding: var(--spacing-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-white);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
}

.faq {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-bg-light);
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--color-black);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.01em;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-black);
    text-align: left;
    transition: var(--transition);
}

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

.faq-icon {
    font-size: 24px;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: var(--spacing-md);
}

.faq-answer p {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.7;
}

.footer {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    font-size: 14px;
    color: var(--color-text);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-link {
    font-size: 14px;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    :root {
        --spacing-lg: 32px;
        --spacing-xl: 48px;
        --spacing-xxl: 72px;
    }

    .nav {
        display: none;
    }

    .btn-connect {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        min-height: 500px;
        padding: var(--spacing-xl) var(--spacing-md);
    }

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

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

    .btn-primary {
        width: 100%;
        padding: 16px 32px;
    }

    .about-paragraph {
        font-size: 16px;
    }

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

    .section-title {
        font-size: 32px;
    }

    .faq-question {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

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

    .hero-text {
        font-size: 16px;
    }

    .hero-pattern::before,
    .hero-pattern::after {
        display: none;
    }

    .feature-card {
        padding: var(--spacing-md);
    }
}

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

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

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

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

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 20px;
    border: 3px solid transparent;
}