:root {
    /* 主色调 (Primary - Warm Orange/Coral based on practice.css) */
    --primary: #FF7E5F;       
    --primary-hover: #e06c50; 
    --primary-light: #fff5f2; 
    
    /* 辅助色 (Secondary/Accent) */
    --accent: #14b8a6;        /* Teal 500 - Good contrast with orange */
    
    /* 中性色 (Neutrals) */
    --text-main: #1a1a1a;     
    --text-muted: #4b5563;    
    --text-light: #9ca3af;    
    --bg-white: #ffffff;
    --bg-light: #f9fafb;      
    --border: #e5e7eb;        

    /* 渐变 */
    --gradient-hero: linear-gradient(135deg, #fff8f5 0%, #fff0f0 100%);
    --gradient-primary: linear-gradient(135deg, #FF9A44 0%, #FC6076 100%);
    
    /* 阴影 - 暖色调微调 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(255, 126, 95, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(255, 126, 95, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* 尺寸与间距 */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* 字体 */
    --font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

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

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Desktop baseline scale: make 100% browser zoom look like previous 80% */
@media (min-width: 1025px) {
    body {
        zoom: 0.8;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

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

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

/* ========== Navbar ========== */
.navbar {
    height: 100px;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    padding-bottom: 18px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-brand {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    margin-left: -160px;
}

.nav-brand svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-links a {
    color: #374151;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-left: 48px;
}

.nav-actions span {
    font-size: 1.2rem;
    color: #374151;
}

.nav-actions .btn-ghost {
    font-size: 1.2rem;
}

.nav-actions .btn-primary {
    margin-left: 22px;
    position: relative;
    left: 170px;
}

@media (min-width: 1025px) {
    .nav-links {
        position: relative;
        left: 120px;
    }

    .nav-actions span {
        position: relative;
        left: 170px;
    }

    .nav-actions .btn-ghost {
        position: relative;
        left: 200px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
}

.btn-ghost {
    color: #374151;
    background: transparent;
    font-weight: 700;
}

.btn-ghost:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    font-weight: 700;
    border-radius: 20px;
}

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

/* ========== Hero Section ========== */
.hero {
    min-height: 112vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 200px;
    background: linear-gradient(180deg, #FF9A75 0%, #FFB58D 30%, #FFF5F2 70%, #FFFFFF 100%);
    overflow: hidden;
    position: relative;
}

.hero-logo-watermark {
    position: absolute;
    left: -3vw;
    bottom: -130px;
    width: 36vw;
    height: 100vh;
    object-fit: contain;
    opacity: 0.15;
    pointer-events: none;
    filter: brightness(1.2);
}

.hero-bubble-left {
    position: absolute;
    right: 0;
    bottom: 20vh;
    width: 20vw;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    filter: brightness(1.3) opacity(0.7);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.hero-text h1 {
    font-size: 7rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-align: center;
    white-space: nowrap;
    margin-left: -40px;
}

.hero-text h1 span {
    background: linear-gradient(180deg, #F04D2E 0%, #F8A06E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    text-align: center;
    max-width: 800px;
}

.hero-text p {
    font-size: 1.6rem;
    background: linear-gradient(180deg, #9D2F00 0%, #D86830 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 40px;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.02em;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-actions .btn-primary {
    padding: 18px 48px;
    font-size: 1.65rem;
    letter-spacing: 0.05em;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
    background-color: white;
    padding: 12px; /* simulate browser window or padding */
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Placeholder for Hero Image */
.img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.2rem;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23f3f4f6"/><path d="M30 70 L50 40 L70 70 Z" fill="%23d1d5db"/></svg>');
    background-size: cover;
}

/* ========== Features Grid ========== */
.features {
    padding: 70px 0 110px;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.features .container {
    position: relative;
    z-index: 1;
}

.features .section-head {
    margin-bottom: 52px;
}

.features-logo-watermark {
    position: absolute;
    left: -1vw;
    bottom: -130px;
    width: 30vw;
    height: 100vh;
    object-fit: contain;
    opacity: 0.15;
    pointer-events: none;
    filter: brightness(1.2);
    z-index: 0;
}

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

/* ========== Carousel Styles ========== */

.video-section {
    padding: 16px 0 80px;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1600px;
}

.section-head {
    margin-bottom: 0px;
    text-align: center;
}

.section-head h2 {
    font-size: 3.0rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.6rem;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-card {
    min-width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 64px 52px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.feature-box p {
    color: var(--text-muted);
    max-width: 500px;
    font-size: 1.2rem;
    line-height: 1.7;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-dot.active {
    background-color: var(--primary);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--bg-light);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }


/* ========== Use Scenes Grid ========== */
.scenes {
    padding: 60px 0 150px;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.scenes .container {
    position: relative;
    z-index: 1;
    max-width: 1500px;
}

.scenes-logo-watermark {
    position: absolute;
    right: 3vw;
    bottom: 120px;
    width: 30vw;
    height: 100vh;
    object-fit: contain;
    opacity: 0.15;
    pointer-events: none;
    filter: brightness(1.2);
    z-index: 0;
}

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

.scene-card {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.scene-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.scene-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: inline-block;
}

.scene-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.scene-card p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ========== Timeline Layout ========== */
.tl-container {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0px;
    height: 620px;
}

.tl-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 6px;
    background: linear-gradient(135deg, #FF9A44 0%, #FC6076 100%);
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 3px;
}

.tl-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tl-card-slot {
    flex: 1;
    width: 100%;
    display: flex;
}

.tl-above .tl-card-slot {
    align-items: flex-end;
    padding-bottom: 12px;
}

.tl-below .tl-card-slot {
    align-items: flex-start;
    padding-top: 12px;
}

.tl-spacer {
    flex: 1;
}

.tl-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 4px solid #FF7E5F;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(255, 126, 95, 0.2);
}

/* Scene card overrides inside timeline */
.tl-container .scene-card {
    position: relative;
    aspect-ratio: 2 / 1;
    width: 100%;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 28px 32px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

.tl-container .feature-icon {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}

.tl-container .feature-icon svg {
    width: 34px;
    height: 34px;
}

.tl-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.tl-container .scene-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0;
    text-align: left;
}

.tl-container .scene-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 0;
}

/* Speech bubble tail: above card → points downward */
.tl-above .scene-card::before {
    content: '';
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 19px solid #e5e7eb;
    z-index: 1;
}

.tl-above .scene-card::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 17px solid white;
    z-index: 2;
}

/* Speech bubble tail: below card → points upward */
.tl-below .scene-card::before {
    content: '';
    position: absolute;
    top: -19px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 19px solid #e5e7eb;
    z-index: 1;
}

.tl-below .scene-card::after {
    content: '';
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 17px solid white;
    z-index: 2;
}

/* ========== CTA & Footer ========== */
.cta-section {
    padding: 140px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F2 20%, #FFB58D 65%, #FF9A75 100%);
    color: var(--text-main);
    text-align: center;
}

.cta-section .container {
    position: relative;
    top: -26px;
}

.cta-section h2 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
    width: 100%;
    background: linear-gradient(180deg, #F04D2E 0%, #F8A06E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 1.9rem;
    font-weight: 700;
    background: linear-gradient(180deg, #9D2F00 0%, #D86830 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    padding: 22px 64px;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
    background: linear-gradient(180deg, #F04D2E 0%, #F8A06E 100%) text, white;
    -webkit-background-clip: text, padding-box;
    background-clip: text, padding-box;
    color: transparent;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.footer {
    padding: 40px 0;
    background-color: #f9fafb;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
}

/* 平板和小屏设备 */
@media (max-width: 768px) {
    /* 导航栏优化 */
    .navbar {
        height: 60px;
    }
    
    .navbar .container {
        padding: 0 16px;
    }
    
    .navbar .nav-links {
        display: none;
    }
    
    .nav-brand {
        font-size: 1.25rem;
    }
    
    .nav-brand img {
        height: 24px !important;
    }
    
    /* 隐藏电话号码文字，移动端太长 */
    .nav-actions span {
        display: none;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    /* 优化按钮显示 */
    .nav-actions .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .nav-actions .btn-ghost {
        padding: 8px 12px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .carousel-btn {
        display: none; /* simple hidden on mobile, rely on swipe in future or dots */
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* 主流手机屏幕优化（iPhone 12, 13, 14等） */
@media (max-width: 640px) {
    /* 导航栏：保留双按钮，更紧凑布局 */
    .nav-actions {
        gap: 6px;
    }
    
    .nav-actions .btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .nav-actions .btn-ghost {
        padding: 6px 10px;
    }
    
    .nav-actions .btn-primary {
        padding: 6px 10px;
    }
    
    /* Footer 优化：垂直布局避免换行 */
    .footer {
        padding: 24px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .footer-brand {
        font-size: 0.85rem;
    }
}

/* 极小屏手机（iPhone SE等） */
@media (max-width: 375px) {
    .navbar .container {
        padding: 0 12px;
    }
    
    .nav-brand {
        font-size: 1.1rem;
    }
    
    .nav-brand span {
        display: none; /* 超小屏只显示 logo */
    }
    
    .nav-actions .btn-primary {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Footer 文字更小 */
    .footer-brand {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    .footer-links {
        font-size: 0.85rem;
    }
}

/* Video Placeholder Styles */
.video-placeholder {
    display: block;
    position: relative;
    width: 100%;
    max-width: 1500px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    /* 移除缩放效果 */
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through to the link */
    transition: transform 0.2s ease;
}

.video-placeholder:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* ========== Video Carousel ========== */
.video-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1500px;
}

.video-carousel-track-wrapper {
    overflow: hidden;
    border-radius: var(--radius-lg);
    flex: 1;
}

.video-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.video-carousel-track .video-placeholder {
    min-width: 100%;
    flex-shrink: 0;
}

.video-nav-btn {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}

.video-nav-btn:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: scale(1.08);
}

.video-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.video-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}

.video-dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
}

/* ========== Video Tabs ========== */
.video-tabs {
    display: flex;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 5px;
    margin-bottom: 24px;
    width: fit-content;
    align-self: center;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}

.video-tab {
    padding: 12px 48px;
    border: none;
    background: transparent;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
    white-space: nowrap;
}

.video-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(255, 126, 95, 0.18);
}
