:root {
    --primary-color: #8c0033;
    --primary-color-light: #9e063e;
    --bg-color: #ffffff;
    --text-color-light: #fefefe;
    --text-color: #1f2937;
    --text-secondary: #5a5a5a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto,
             "Helvetica Neue", "Noto Sans", "Liberation Sans",
             Arial, sans-serif,
             "Apple Color Emoji", "Segoe UI Emoji",
             "Segoe UI Symbol", "Noto Color Emoji";
    background-color: var(--bg-color);
    line-height: 1.7;
    letter-spacing: 0;       

    color: var(--text-color);
    overflow-x: hidden;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 10%;
    background: #fefefe;
    z-index: 1000;
    border-bottom: 1px solid rgba(140, 0, 51, 0.1);
}

.header__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.header__logo img {
    height: 20px;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.header__menu-item {
    position: relative;
}

.header__link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

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

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

.header__link:hover::after {
    width: 100%;
}

.header__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.header__mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 100%), 
                url('https://langyaai-public.oss-cn-hongkong.aliyuncs.com/nainoa-shizuru-NcdG9mK3PBY-unsplash.jpg');
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    z-index: -1;
}

.hero__title { 
    font-size: clamp(1.3rem, 8vw, 2.5rem);
    font-weight: 350;
    margin-top: 7rem;
    color: white;
}

.hero__title-line {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.hero__title-highlight {
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1px #ccc;
    text-stroke: 1px #ccc;
    transform: translateZ(0);
}

.hero__title-highlight::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #d4153b;
    -webkit-text-stroke: 1px #ccc;
    text-stroke: 1px #ccc;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: clip-path;
}

.hero__title-highlight--filled::before {
    clip-path: inset(0 0 0 0);
}

.hero__subtitle {
    font-size: clamp(0.6rem, 2vw, 1rem);
    color: rgb(255, 255, 255, 0.75);
    font-weight: 400;
    line-height: 1.8;
    transition-delay: 0.1s;
    margin-bottom: 3rem;
    margin-left: 15rem;
    margin-right: 15rem;
}

.hero__cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: inline-block;
    text-decoration: none;
}

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

.hero__cta-button:hover {
    background-color: #e0e0e0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.hero__cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.marquee {
    padding: 1.75rem 0;
    padding-bottom: 1.25rem;
    overflow: hidden;
    border-top: 1px solid rgba(140, 0, 51, 0.2);
    border-bottom: 1px solid rgba(140, 0, 51, 0.2);
    background: rgba(140, 0, 51, 0.02);
}

.marquee__content {
    display: flex;
    white-space: nowrap;
}

.marquee__inner {
    display: flex;
    animation: marquee 25s linear infinite;
    will-change: transform;
}

.marquee__item {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 0 2rem;
    color: var(--text-color);
}

.marquee__separator {
    position: relative;
    top: -6px;
    font-size: 2rem;
    color: var(--primary-color);
    padding: 0 1rem;
}

@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.services {
    padding: 4rem 8rem 5%;
    padding-top: 2.25rem;
    background: #fff;
}

.services__container {
    max-width: 1200px;
    margin: 0 auto;
}

.services__label {
    font-size: 0.9rem;
    font-weight: 350;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.services__title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 350;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.services__description {
    font-size: clamp(0.6rem, 2vw, 1rem);
    color: var(--text-secondary);
    margin-bottom: 0;
    text-align: center;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 350px);
    justify-content: space-around;
    gap: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.services__item {
    padding: 2.25rem 1.5rem;
    padding-top: 1rem;
    background: #e9ecef;
    font-weight: 350;
    font-size: 1.3125rem;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.services__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.services__item:hover .services__icon {
    transform: scale(1.1);
}

.services__icon i {
    font-size: 2rem;
    color: #000;
}

.services__item-title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 350;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.services__item-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

.services__partner {
    margin-top: 4rem;
    text-align: center;
}

.services__partner-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 350;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.services__partner-description {
    font-size: clamp(0.6rem, 2vw, 1rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.cta {
    padding: 5rem 5%;
    text-align: center;
    background: #f5f5f5;
}

.cta__title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 350;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta__description {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.cta__button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: inline-block;
    text-decoration: none;
}

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

.cta__button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta__button:hover::before {
    width: 300px;
    height: 300px;
}

.cta__email {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer {
    padding: 1rem 5%;
    text-align: center;
    border-top: 1px solid rgba(140, 0, 51, 0.15);
    background: rgba(140, 0, 51, 0.02);
}

.footer__text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.reveal-text,
.reveal-item {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal-text--visible,
.reveal-item--visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 1024px) {
    .header {
        padding: 1.25rem 5%;
    }

    .header__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
    }

    .header__menu--active {
        left: 0;
    }

    .header__mobile-toggle {
        display: flex;
    }

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

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

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

    .header__menu .header__link {
        color: var(--text-color-light);
        font-size: 1.2rem;
    }

    .header__menu .header__link:hover {
        color: var(--primary-color-light);
    }

    .hero {
        min-height: 80vh !important;
        padding: 0 5%;
        padding-top: 5rem;
    }

    .hero__title {
        margin-top: 3rem;
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero__subtitle {
        font-size: clamp(0.85rem, 2vw, 1rem);
        margin-left: 3rem;
        margin-right: 3rem;
        margin-bottom: 2.5rem;
    }

    .hero__cta-button {
        padding: 1rem 2.25rem;
        font-size: 0.95rem;
    }

    .marquee {
        padding: 1.5rem 0;
    }

    .marquee__item {
        font-size: 1.25rem;
        letter-spacing: 2px;
        padding: 0 1.5rem;
    }

    .marquee__separator {
        font-size: 1.75rem;
        padding: 0 1rem;
    }

    .services {
        padding: 3.5rem 5%;
    }

    .services__label {
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-bottom: 1.25rem;
    }

    .services__title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 1.75rem;
    }

    .services__description {
        font-size: clamp(0.85rem, 2vw, 1rem);
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        gap: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .services__item {
        padding: 1.75rem 1.25rem;
        border-radius: 10px;
    }

    .services__icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1.25rem;
    }

    .services__icon i {
        font-size: 1.75rem;
    }

    .services__item-title {
        font-size: clamp(1.3rem, 2.3vw, 2.3rem);
        margin-bottom: 0.75rem;
    }

    .services__item-description {
        font-size: 0.95rem;
    }

    .services__partner {
        margin-top: 3.5rem;
    }

    .services__partner-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 1.25rem;
    }

    .services__partner-description {
        font-size: clamp(0.85rem, 2vw, 1rem);
        padding: 0 1.5rem;
    }

    .cta {
        padding: 4rem 5%;
    }

    .cta__title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .cta__description {
        font-size: clamp(0.95rem, 2vw, 1.25rem);
        margin-bottom: 2.5rem;
    }

    .cta__email {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta__button {
        padding: 1rem 2.25rem;
        font-size: 0.95rem;
    }

    .footer__text {
        font-size: 0.9rem;
    }
}

@media (max-width: 540px) {
    .header {
        padding: 1rem 10%;
    }

    .header__logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .header__logo img {
        height: 16px;
    }

    .header__link {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .hero {
        padding: 0 4%;
        padding-top: 4rem;
    }

    .hero__title {
        margin-top: 1rem;
        font-size: clamp(3rem, 8vw, 5rem);
        letter-spacing: 0.05em;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero__title-line {
        margin-bottom: 0.5rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
        margin-bottom: 2rem;
        margin-left: 1rem;
        margin-right: 1rem;
        line-height: 1.6;
    }

    .hero__cta-button {
        padding: 1.5rem 2.5rem;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .marquee__item {
        font-size: 1.1rem;
        letter-spacing: 2px;
        padding: 0 1rem;
    }

    .marquee__separator {
        font-size: 1.5rem;
        padding: 0 0.8rem;
    }

    .marquee {
        padding: 1rem 0;
    }

    .services {
        padding: 3rem 4%;
    }

    .services__label {
        font-size: 0.8rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }

    .services__title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }


    .services__description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 0;
    }

    .services__grid {
        grid-template-columns: 1fr;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .services__item {
        padding: 1.5rem 1.2rem;
        border-radius: 8px;
    }

    .services__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .services__icon i {
        font-size: 1.5rem;
    }

    .services__item-title {
        font-size: clamp(1.3rem, 5vw, 4rem);
        margin-bottom: 0.8rem;
    }

    .services__item-description {
        font-size: 0.9rem;
    }

    .cta {
        padding: 4rem 4%;
    }

    .cta__title {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    .cta__description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 1.5rem;
        letter-spacing: 0;
    }

    .cta__email {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        letter-spacing: 0;
    }

    .cta__button {
        padding: 1rem 2rem;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .footer__text {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
}

