/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from Figma */
    --color-bg: #101012;
    --color-text-primary: #f4f0ef;
    --color-text-secondary: #afa8b1;
    --gradient-start: #c9b4de;
    --gradient-end: #f0c5aa;

    /* Fonts */
    --font-primary: 'Arimo', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Gelasio', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

/* Container - Figma设计：左边距300px，右边距167px */
.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding-left: 300px;
    padding-right: 167px;
}

/* Section Base */
section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Hero Section - Figma: 960px高度 */
.hero-section {
    display: flex;
    flex-direction: column;
    padding-top: 112px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Navigation Brand - 固定在顶部的完整导航栏 */
.nav-brand {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #121114;
    backdrop-filter: blur(10px);
    padding: 40px 300px;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text {
    font-size: 25px;
    font-weight: 400;
    color: var(--color-text-primary);
    letter-spacing: -0.8px;
    line-height: 30px;
}

/* Hero Content - Figma布局 */
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 120px;
    flex: 1;
}

/* Hero Left - Figma: left:300px, top:210px, width:530px */
.hero-left {
    flex: 0 0 530px;
    padding-top: 98px;
}

.hero-headline {
    margin-bottom: 60px;
}

/* Headline - Figma精确尺寸 */
.headline-normal {
    font-size: 78px;
    font-weight: 400;
    line-height: 87px;
    letter-spacing: -3.3px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
}

.headline-gradient {
    font-size: 106px;
    font-weight: 400;
    font-style: italic;
    line-height: 110px;
    letter-spacing: -4.6px;
    font-family: var(--font-secondary);
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 64%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Hero Description - Figma: top:520px */
.hero-description {
    font-size: 20px;
    line-height: 32px;
    color: var(--color-text-secondary);
}

/* Hero Right - Figma: 手机区域 left:949px, top:112px, width:804px, height:848px */
.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.phone-single {
    width: 330px;
    filter: drop-shadow(13.2px 29.7px 22px rgba(0, 0, 0, 0.65));
    transition: transform 0.4s ease;
}

.phone-single img {
    width: 100%;
    height: auto;
    border-radius: 41.8px;
}

.phone-single:hover {
    transform: scale(1.05);
}

/* Benefits Section - Figma: 880px高度 */
.benefits-section {
    display: flex;
    align-items: center;
}

.benefits-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.benefits-section .container{
  padding-left: 283px;
}

.benefits-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    gap: 133px;
    width: 100%;
}

.benefits-left {
    flex: 0 0 auto;
    width: 614px;
}  

/* Benefits Right - Figma: left:1030px, top:132px, width:440px */
.benefits-right {
    flex: 0 0 440px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-top: 132px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.benefit-item h2 {
    font-size: 37px;
    font-weight: 400;
    line-height: 44px;
    letter-spacing: -1.1px;
    color: var(--color-text-primary);
}

.benefit-item p {
    font-size: 19px;
    line-height: 30px;
    color: var(--color-text-secondary);
}

/* Discovery Section - Figma: 900px高度 */
.discovery-section {
    height: 900px;
    display: flex;
    align-items: center;
}

.discovery-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.container3{
  padding-right: 273px;
}

.discovery-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 210px;
    width: 100%;
}

/* Discovery Left - Figma: left:300px, top:180px, width:520px */
.discovery-left {
    width: 520px;
    padding-top: 180px;
}

.discovery-headline {
    margin-bottom: 60px;
}

.discovery-headline .headline-normal {
    font-size: 63px;
    line-height: 80px;
    letter-spacing: -2.4px;
}

.discovery-headline .headline-gradient {
    font-size: 62px;
    line-height: 80px;
    letter-spacing: -2.4px;
}

.discovery-description {
    font-size: 19px;
    line-height: 30px;
    color: var(--color-text-secondary);
}

.discovery-right {
    width: 614px;
}

/* Footer Section - Figma: 700px高度 */
.footer-section {
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 952px;
    max-width: 90%;
}

/* Footer Headline - Figma: left:484px, top:77px, width:952px */
.footer-headline {
    margin-bottom: 50px;
}

.footer-headline .headline-text {
    font-size: 64px;
    font-weight: 400;
    line-height: 80px;
    letter-spacing: -2.5px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
}

.footer-headline .headline-gradient {
    font-size: 78px;
    font-weight: 400;
    font-style: italic;
    line-height: 90px;
    letter-spacing: -2.7px;
    font-family: var(--font-secondary);
    background: linear-gradient(90deg, var(--gradient-start) 27.4%, var(--gradient-end) 72.6%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Button - Figma: left:809px, top:269px, width:302px, height:60px */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 91px;
    background: linear-gradient(173.74deg, rgb(138, 63, 252) 5.32%, rgb(192, 108, 255) 93.33%);
    border-radius: 50px;
    font-size: 19px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.3px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 85px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(138, 63, 252, 0.4);
}

/* Floating Icon - Figma: left:760px, top:354px, width:400px, height:320px */
.floating-icon {
    width: 180px;
    height: 184px;
    position: relative;
    filter: drop-shadow(12px 27px 20px rgba(0, 0, 0, 0.65));
    animation: float 3s ease-in-out infinite;
    transform: rotate(-7deg);
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

@keyframes float {
    0%, 100% {
        transform: rotate(-7deg) translateY(0px);
    }
    50% {
        transform: rotate(-7deg) translateY(-10px);
    }
}


/* ========================================
   移动端响应式样式 - 基于PC端适配
   ======================================== */

/* 1600px以下 */
@media screen and (max-width: 1600px) {
    .container {
        padding-left: 150px;
        padding-right: 120px;
    }

    .nav-brand {
        padding: 40px 150px;
    }

    .benefits-section .container {
        padding-left: 150px;
    }
}

/* 1400px以下 */
@media screen and (max-width: 1400px) {
    .container {
        padding-left: 100px;
        padding-right: 80px;
    }

    .nav-brand {
        padding: 35px 100px;
    }

    .benefits-section .container {
        padding-left: 100px;
    }

    .hero-content,
    .benefits-content {
        gap: 80px;
    }
}

/* 1024px以下 - 平板 */
@media screen and (max-width: 1024px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .nav-brand {
        padding: 28px 40px;
    }

    .benefits-section .container {
        padding-left: 40px;
    }

    .hero-section {
        padding-top: 100px;
    }

    .hero-content {
        flex-direction: column;
        gap: 50px;
    }

    .hero-left {
        flex: 1;
        width: 100%;
        max-width: 600px;
        padding-top: 40px;
    }

    .hero-right {
        width: 100%;
        display: flex;
        justify-content: center;
    } 

    .headline-normal {
        font-size: 52px;
        line-height: 60px;
    }

    .headline-gradient {
        font-size: 70px;
        line-height: 78px;
    }

    .benefits-content {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .benefits-left {
        width: 100%;
        display: flex;
        justify-content: center;
    } 

    .benefits-right {
        flex: 1;
        width: 100%;
        max-width: 600px;
        padding-top: 0;
        align-items: center;
    }

    .discovery-section {
        height: auto;
        padding: 80px 0;
    }

    .discovery-content {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .discovery-left {
        flex: 1;
        width: 100%;
        max-width: 600px;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .discovery-right {
        width: 100%;
        display: flex;
        justify-content: center;
    } 

    .footer-section {
        height: auto;
        padding: 70px 40px;
    }
}

/* 768px以下 - 手机 */
@media screen and (max-width: 768px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .nav-brand {
        padding: 24px;
    }

    .benefits-section .container {
        padding-left: 24px;
    }

    .logo {
        width: 26px;
        height: 26px;
    }

    .brand-text {
        font-size: 21px;
    }

    .hero-section {
        padding-top: 90px;
    }

    .hero-left {
        padding-top: 30px;
    }

    .hero-headline {
        margin-bottom: 30px;
    }

    .headline-normal {
        font-size: 40px;
        line-height: 48px;
    }

    .headline-gradient {
        font-size: 54px;
        line-height: 62px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 25px;
    }  

    .benefits-right {
        gap: 45px;
    }

    .benefit-item {
        gap: 20px;
    }

    .benefit-item h2 {
        font-size: 30px;
        line-height: 36px;
    }

    .benefit-item p {
        font-size: 16px;
        line-height: 24px;
    }

    .discovery-section {
        padding: 60px 0;
    }

    .discovery-headline .headline-normal {
        font-size: 38px;
        line-height: 46px;
    }

    .discovery-headline .headline-gradient {
        font-size: 48px;
        line-height: 56px;
    }

    .discovery-description {
        font-size: 16px;
        line-height: 24px;
    } 

    .footer-section {
        padding: 60px 24px;
    }

    .footer-headline {
        margin-bottom: 35px;
    }

    .footer-headline .headline-text {
        font-size: 44px;
        line-height: 54px;
    }

    .footer-headline .headline-gradient {
        font-size: 56px;
        line-height: 66px;
    }

    .cta-button {
        font-size: 17px;
        padding: 13px 65px;
        margin-bottom: 45px;
    }

    .floating-icon {
        width: 130px;
        height: 134px;
    }
}

/* 480px以下 - 小屏手机 */
@media screen and (max-width: 480px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-brand {
        padding: 20px;
    }

    .benefits-section .container {
        padding-left: 20px;
    }

    .logo {
        width: 24px;
        height: 24px;
    }

    .brand-text {
        font-size: 19px;
    }

    .hero-section {
        padding-top: 80px;
    }

    .hero-left {
        padding-top: 20px;
    }

    .hero-headline {
        margin-bottom: 25px;
    }

    .headline-normal {
        font-size: 34px;
        line-height: 40px;
    }

    .headline-gradient {
        font-size: 46px;
        line-height: 52px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 23px;
    }  

    .benefits-right {
        gap: 38px;
    }

    .benefit-item {
        gap: 18px;
    }

    .benefit-item h2 {
        font-size: 26px;
        line-height: 32px;
    }

    .benefit-item p {
        font-size: 15px;
        line-height: 22px;
    }

    .discovery-section {
        padding: 50px 0;
    }

    .discovery-headline .headline-normal {
        font-size: 32px;
        line-height: 40px;
    }

    .discovery-headline .headline-gradient {
        font-size: 42px;
        line-height: 50px;
    }

    .discovery-description {
        font-size: 15px;
        line-height: 22px;
    } 

    .footer-section {
        padding: 50px 20px;
    }

    .footer-headline {
        margin-bottom: 30px;
    }

    .footer-headline .headline-text {
        font-size: 36px;
        line-height: 44px;
    }

    .footer-headline .headline-gradient {
        font-size: 46px;
        line-height: 54px;
    }

    .cta-button {
        font-size: 16px;
        padding: 12px 50px;
        margin-bottom: 35px;
    }

    .floating-icon {
        width: 110px;
        height: 114px;
    }
}
