/* ================= Reset & Variables ================= */
:root {
    --jd-red: #E2231A;
    --jd-red-dark: #c41e15;
    --jd-red-light: #fff0f0;
    --text-main: #111111;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-sm: 0 8px 24px rgba(0,0,0,0.04);
    --shadow-lg: 0 24px 48px rgba(226,35,26,0.15);
    --font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= Header Navbar ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.brand img {
    height: 44px;
}

.nav-btn {
    background: var(--jd-red);
    color: var(--bg-white);
    padding: 10px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover {
    background: var(--jd-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(226,35,26,0.2);
}

/* ================= Hero Section ================= */
.hero {
    padding: 180px 0 80px;
    background: linear-gradient(180deg, #fff4f4 0%, var(--bg-white) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--jd-red);
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    height: 60px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--jd-red);
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--jd-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 32px 64px rgba(226,35,26,0.25);
}

.btn-outline {
    background: var(--bg-white);
    color: var(--text-main);
    border: 2px solid #eaeaea;
}

.btn-outline:hover {
    border-color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.hero-image-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    perspective: 1200px;
    z-index: 2;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(226,35,26,0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
    transform: rotateX(4deg) scale(1);
    border: 1px solid rgba(255,255,255,0.8);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.hero-image-wrapper:hover .hero-image {
    transform: rotateX(0deg) scale(1.02);
}

/* ================= Features Grid ================= */
.features {
    padding: 120px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 80px;
    letter-spacing: -0.5px;
}

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

.feature-card {
    background: var(--bg-light);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--bg-white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(226,35,26,0.1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--jd-red-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 32px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* ================= Showcase Gallery ================= */
.showcase {
    padding: 80px 0 120px;
    background: var(--bg-light);
    overflow: hidden;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
}

.showcase-text p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--jd-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.showcase-image {
    flex: 1.2;
    position: relative;
}

.showcase-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    display: block;
}

/* Decorative background blob for showcase */
.showcase-image::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--jd-red-light) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.6;
}

/* ================= CTA Bottom ================= */
.cta {
    padding: 120px 0;
    background: var(--jd-red);
    color: var(--bg-white);
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--bg-white);
}

.cta p {
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 48px;
}

.cta .btn-primary {
    background: var(--bg-white);
    color: var(--jd-red);
    box-shadow: none;
}

.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.cta .btn-outline {
    background: transparent;
    color: var(--bg-white);
    border-color: rgba(255,255,255,0.4);
}

.cta .btn-outline:hover {
    background: var(--bg-white);
    color: var(--jd-red);
    border-color: var(--bg-white);
}

/* ================= Footer ================= */
footer {
    padding: 60px 0;
    background: var(--bg-white);
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--jd-red);
}

.copyright {
    color: #999;
    font-size: 14px;
}

/* ================= Responsive ================= */
@media (max-width: 1024px) {
    .hero h1 { font-size: 48px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase-item { gap: 40px; }
    .showcase-text h2 { font-size: 30px; }
}

@media (max-width: 768px) {
    header { padding: 8px 0; }
    .brand span { display: none; }
    
    .hero { padding: 140px 0 60px; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; padding: 0 16px; }
    .hero-actions { flex-direction: column; gap: 16px; padding: 0 24px; }
    .btn { width: 100%; height: 52px; font-size: 16px; }
    
    .section-title { font-size: 32px; margin-bottom: 48px; }
    .features { padding: 80px 0; }
    .features-grid { grid-template-columns: 1fr; }
    
    .showcase { padding: 80px 0; }
    .showcase-item, .showcase-item:nth-child(even) { 
        flex-direction: column; 
        text-align: center;
        gap: 40px;
        margin-bottom: 80px;
    }
    .check-list li { text-align: left; }
    
    .cta { padding: 80px 24px; }
    .cta h2 { font-size: 32px; }
    .cta p { font-size: 18px; }
    
    .footer-links { flex-wrap: wrap; gap: 16px; }
}