@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mozilla+Headline:wght@200;300;500;600;700;400&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-nav: rgba(255, 255, 255, 0.72);
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --accent: #CC7BFF;
    --border: rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;

}

::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
    font-family: 'Mozilla Headline', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    background: var(--bg-nav);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 28px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 980px;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    filter: brightness(1.08);
    /* transform: scale(1.02); */
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle-open span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

.nav-mobile-cta {
    display: none;
}

@media (max-width: 720px) {
    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        width: 100vw;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        padding: 32px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        z-index: 105;
    }

    .nav-links-open {
        display: flex;
        max-height: 100vh;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 22px 0;
        font-size: 35px;
        font-weight: 500;
        letter-spacing: -0.01em;
        /* border-bottom: 1px solid var(--border); */
    }

    .nav-mobile-cta {
        display: block;
        margin-top: 28px;
        width: 100%;
    }

    .nav-mobile-cta a {
        display: inline-block;
        background: var(--accent);
        color: #fff;
        font-size: 17px;
        font-weight: 500;
        padding: 14px 28px;
        border-radius: 980px;
        border-bottom: none;
        text-decoration: none;
    }
}

.hero {
    max-width: 950px;
    margin: 0 auto;
    padding: 70px 24px 56px;
    text-align: center;
}

.hero-headline {
    margin: 0 0 20px;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.hero-sub {
    margin: 0 0 36px;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 26px;
    border-radius: 980px;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    filter: brightness(1.08);
    /* transform: scale(1.02); */
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #e8e8ed;
    /* transform: scale(1.02); */
}

/* .hero-media {
    padding: 64px 24px 0;
} */

.hero-media video {
    display: block;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    user-select: none;
    pointer-events: none;
}

@media (max-width: 640px) {
    .hero {
        padding: 90px 20px 40px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        margin-top: 25px !important;
    }

    .btn-primary,
    .btn-secondary {
        width: 70%;
    }

    .hero-media {
        padding: 1em;
        padding-top: 2em !important;
    }
}

/* Products section */

.products {
    max-width: 1360px;
    margin: 0 auto;
    padding: 32px 24px 0;
    text-align: left;
}

.products-title {
    margin: 0 0 12px;
    margin-top: 4em;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.products-sub {
    margin: 0;
    max-width: 480px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .products-title {
        font-size: 26px;
        margin-top: 1em;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.product-item {
    display: flex;
    flex-direction: column;
}

.product-square {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-title {
    margin: 18px 0 6px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}

.product-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Products - view more button */

.products-more {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.products-more .btn-secondary {
    padding: 12px 32px;
}

@media (max-width: 640px) {
    .products-more {
        margin-top: 32px;
    }

    .products-more .btn-secondary {
        width: 70%;
        text-align: center;
    }
}

/* About */

.about {
    max-width: 1360px;
    margin: 0 auto;
    padding: 96px 24px;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.about-title {
    margin: 0 0 20px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.about-text {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.about-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 860px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-title {
        font-size: 26px;
    }
}

/* CTA band */

.cta-band {
    max-width: 680px;
    margin: 0 auto;
    padding: 160px 24px;
    text-align: center;
}

.cta-title {
    margin: 0 0 16px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.cta-sub {
    margin: 0 0 32px;
    font-size: 17px;
    line-height: 1.5;
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .cta-band {
        padding: 96px 20px;
    }

    .cta-title {
        font-size: 28px;
    }
}

/* Footer */

.site-footer {
    background: var(--bg-secondary);
    padding: 64px 32px 32px;
}

.footer-top {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    height: 24px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}

.footer-tagline {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.footer-columns {
    display: flex;
    gap: 64px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-column a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

@media (max-width: 720px) {
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-columns {
        gap: 40px;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}