/*
Theme Name: ELUME Light Therapy V2
Theme URI: https://elume.com
Author: Gemini Custom Themes
Description: A modern, high-conversion tech & health theme inspired by Kineon and Prungo, specifically built for ELUME. English localization.
Version: 2.0
Requires at least: 6.0
Tested up to: 6.9.4
*/

/* Reset & Basic Setup */
:root {
    --primary-color: #FF6600; /* ELUME Orange */
    --primary-hover: #E65C00;
    --text-dark: #121212;
    --text-light: #555555;
    --bg-light: #F4F4F6;
    --white: #FFFFFF;
    --border-color: #EAEAEA;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text-dark); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased;}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1 { font-size: 4rem; line-height: 1.05; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.75rem; font-weight: 700; text-align: center; margin-bottom: 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
p { font-size: 1.125rem; color: var(--text-light); margin-bottom: 1.5rem; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 3rem auto; font-size: 1.25rem; }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.125rem 2.5rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
}
.btn-primary:hover { background-color: var(--primary-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4); }

/* Layout */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* Header */
.site-header { padding: 20px 0; border-bottom: 1px solid var(--border-color); background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000;}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 900; color: var(--text-dark); letter-spacing: 1px;}
.logo span { color: var(--primary-color); }
.main-nav ul { list-style: none; display: flex; gap: 2.5rem; margin: 0;}
.main-nav a { font-weight: 600; color: var(--text-dark); transition: color 0.2s; font-size: 0.95rem; }
.main-nav a:hover { color: var(--primary-color); }

/* Hero Section */
.hero { display: flex; align-items: center; padding: 80px 0 120px 0; background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%); min-height: 85vh; }
.hero-content { flex: 1.2; padding-right: 60px; }
.hero-image { flex: 1; position: relative; }
.hero-image img { border-radius: 24px; box-shadow: 0 24px 48px rgba(0,0,0,0.12); object-fit: cover; width: 100%; max-height: 650px;}

/* Trust Bar */
.trust-bar { background: var(--text-dark); color: var(--white); padding: 30px 0; text-align: center; }
.trust-logos { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 15px; opacity: 0.7;}
.trust-logos span { font-size: 1.2rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px;}

/* Features / Benefits */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.card { background: var(--bg-light); border-radius: 20px; overflow: hidden; transition: transform 0.3s ease; border: 1px solid transparent; }
.card:hover { transform: translateY(-8px); border-color: var(--border-color); background: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.card-img-placeholder { height: 280px; background: #E5E5E5; display:flex; align-items:center; justify-content:center; color: #888; font-size: 0.9rem; text-align:center; padding: 20px; }
.card-content { padding: 40px 30px; }

/* How It Works (Tech) */
.how-it-works { background: var(--text-dark); color: var(--white); }
.how-it-works h2 { color: var(--white); }
.how-it-works p { color: #A0A0A0; }
.split-layout { display: flex; align-items: center; gap: 60px; }
.split-text { flex: 1; }
.split-text ul { list-style: none; padding: 0; margin-top: 30px; }
.split-text li { margin-bottom: 24px; display: flex; align-items: flex-start; gap: 15px; }
.split-text li svg { flex-shrink: 0; color: var(--primary-color); width: 24px; height: 24px; margin-top: 3px; }
.split-img { flex: 1; }

/* Footer */
.site-footer { background: var(--bg-light); padding: 80px 0 40px 0; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--text-light); transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; color: var(--text-light); font-size: 0.9rem; border-top: 1px solid var(--border-color); padding-top: 30px; }

.card-img {
    width: 100%;
    height: 280px; /* 保持与占位符相同的高度 */
    object-fit: cover; /* 关键属性：让图片完美裁剪并铺满区域，不变形 */
    display: block;
    border-bottom: 1px solid var(--border-color); /* 可选：加一条淡淡的分割线 */
}

#benefits {
    padding-top: 60px;
    padding-bottom: 60px;
}

.split-img img {
    width: 100%;
    height: 600px; /* 固定高度，您可以根据右侧文字的多少，修改为 400px 或 500px */
    object-fit: cover; /* 核心属性：强制图片填满 450px 的高度，多余部分自动隐形裁切，绝不变形 */
    object-position: center; /* 确保裁切时保留图片的视觉中心部分 */
    border-radius: 24px; 
    box-shadow: 0 24px 48px rgba(0,0,0,0.3); 
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .hero, .split-layout { flex-direction: column; text-align: center; }
    .hero-content { padding-right: 0; margin-bottom: 50px; }
    h1 { font-size: 3rem; }
    .main-nav { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .split-text li { text-align: left; }
}
