/* ChronLux 曜時科技 VI-based styles */
:root {
  --primary: #2D1B69;
  --accent: #7C3AED;
  --accent-light: #A78BFA;
  --accent-muted: #8B7EAD;
  --light-bg: #F5F0FA;
  --light-bg2: #E8E0F0;
  --text: #1A1A1A;
  --text-light: #555;
  --border: #d4cce4;
  --shadow: rgba(45,27,105,0.08);
  --shadow-lg: rgba(45,27,105,0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --font-zh: 'Noto Sans TC','Noto Sans SC','Source Han Sans SC','PingFang TC','Microsoft YaHei',sans-serif;
  --font-en: 'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  --container: 1200px;
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:var(--font-zh); color:var(--text); background:#fff; line-height:1.7; font-size:16px; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
body[lang="en"] { font-family:var(--font-en),var(--font-zh); }
a { color:var(--accent); text-decoration:none; transition:color .3s; }
a:hover { color:var(--primary); }
.container { max-width:var(--container); margin:0 auto; padding:0 24px; }
section { padding:80px 0; }
.section-title { font-size:32px; font-weight:700; color:var(--primary); margin-bottom:12px; text-align:center; }
.section-subtitle { font-size:16px; color:var(--text-light); text-align:center; max-width:640px; margin:0 auto 48px; line-height:1.6; }
/* Header */
header { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(255,255,255,0.95); backdrop-filter:blur(12px); border-bottom:1px solid var(--border); transition:box-shadow .3s; }
header.scrolled { box-shadow:0 2px 20px var(--shadow); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:64px; max-width:var(--container); margin:0 auto; padding:0 24px; }
.nav-logo { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.logo-box { display:flex; flex-direction:column; align-items:center; line-height:1.1; }
.logo-en { font-family:var(--font-en); font-weight:700; font-size:18px; color:var(--primary); letter-spacing:1px; }
.logo-divider { width:100%; height:1px; background:var(--primary); opacity:.15; margin:2px 0; }
.logo-zh { font-size:11px; color:var(--text-light); letter-spacing:2px; }
.nav-links { display:flex; align-items:center; gap:28px; list-style:none; }
.nav-links a { font-size:14px; color:var(--text); font-weight:500; position:relative; padding:4px 0; }
.nav-links a::after { content:''; position:absolute; bottom:0; left:0; width:0; height:2px; background:var(--accent); transition:width .3s; }
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.lang-switch { display:flex; gap:4px; margin-left:8px; }
.lang-btn { background:none; border:1px solid var(--border); border-radius:4px; padding:3px 8px; font-size:12px; cursor:pointer; color:var(--text-light); font-family:inherit; transition:all .3s; }
.lang-btn.active { background:var(--primary); border-color:var(--primary); color:#fff; }
.mobile-menu-btn { display:none; background:none; border:none; padding:8px; cursor:pointer; color:var(--primary); }
/* Hero */
.hero { min-height:100vh; display:flex; align-items:center; position:relative; background:linear-gradient(135deg,var(--primary) 0%,#4a1a8a 40%,var(--accent) 100%); padding-top:64px; }
.hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 20% 50%,rgba(167,139,250,0.12) 0%,transparent 50%),radial-gradient(ellipse at 80% 20%,rgba(124,58,237,0.1) 0%,transparent 50%); pointer-events:none; }
.hero-content { position:relative; z-index:1; max-width:720px; color:#fff; }
.hero-tag { display:inline-block; border:1px solid rgba(255,255,255,0.3); border-radius:20px; padding:4px 16px; font-size:13px; letter-spacing:2px; margin-bottom:24px; opacity:.9; }
.hero h1 { font-size:48px; font-weight:800; line-height:1.2; margin-bottom:20px; }
.hero h1 .highlight { background:linear-gradient(90deg,#A78BFA,#C4B5D4); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero p { font-size:18px; opacity:.85; max-width:560px; line-height:1.7; margin-bottom:36px; }
.hero-btns { display:flex; gap:16px; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:12px 28px; border-radius:8px; font-size:15px; font-weight:600; cursor:pointer; border:none; font-family:inherit; transition:all .3s; }
.btn-primary { background:#fff; color:var(--primary); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(255,255,255,0.2); }
.btn-outline { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color:#fff; background:rgba(255,255,255,0.1); }
.hero-stats { display:flex; gap:40px; margin-top:48px; padding-top:32px; border-top:1px solid rgba(255,255,255,0.12); }
.hero-stat h3 { font-size:28px; font-weight:700; font-family:var(--font-en); }
.hero-stat p { font-size:13px; opacity:.7; }
/* About */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.about-text h2 { font-size:28px; color:var(--primary); margin-bottom:16px; }
.about-text p { color:var(--text-light); margin-bottom:16px; font-size:15px; }
.about-cards { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.about-card { background:var(--light-bg); border-radius:8px; padding:24px; border:1px solid var(--border); transition:all .3s; }
.about-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px var(--shadow); }
.about-card .icon { width:40px; height:40px; border-radius:10px; background:linear-gradient(135deg,var(--primary),var(--accent)); display:flex; align-items:center; justify-content:center; margin-bottom:14px; color:#fff; }
.about-card h4 { font-size:16px; margin-bottom:6px; color:var(--primary); }
.about-card p { font-size:13px; color:var(--text-light); line-height:1.5; }
/* Business Model */
.business-model { background:var(--light-bg); }
.model-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.model-card { background:#fff; border-radius:12px; padding:32px 24px; text-align:center; border:1px solid var(--border); transition:all .3s; }
.model-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px var(--shadow-lg); }
.model-card .num { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--accent)); color:#fff; font-weight:700; font-size:16px; margin-bottom:16px; }
.model-card h4 { font-size:17px; color:var(--primary); margin-bottom:8px; }
.model-card p { font-size:13px; color:var(--text-light); line-height:1.6; }
.revenue-table { margin-top:40px; max-width:700px; margin-left:auto; margin-right:auto; background:#fff; border-radius:12px; overflow:hidden; border:1px solid var(--border); }
.revenue-table table { width:100%; border-collapse:collapse; }
.revenue-table th { background:var(--primary); color:#fff; padding:12px 16px; text-align:left; font-size:14px; }
.revenue-table td { padding:10px 16px; font-size:14px; border-top:1px solid var(--border); }
.revenue-table tbody tr:nth-child(even) { background:var(--light-bg); }
.revenue-table td:first-child { font-weight:600; }
.revenue-table td:last-child { font-size:13px; color:var(--text-light); }
/* Products */
.product-tabs { display:flex; justify-content:center; gap:8px; margin-bottom:40px; flex-wrap:wrap; }
.product-tab { padding:8px 20px; border-radius:20px; border:1px solid var(--border); background:#fff; cursor:pointer; font-size:14px; font-family:inherit; color:var(--text-light); transition:all .3s; }
.product-tab.active { background:var(--primary); border-color:var(--primary); color:#fff; }
.product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:24px; }
.product-card { background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; transition:all .3s; }
.product-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px var(--shadow-lg); }
.product-card-body { padding:20px; }
.product-card-body h4 { font-size:16px; color:var(--primary); margin-bottom:6px; }
.product-card-body .supplier { font-size:12px; color:var(--accent-muted); margin-bottom:8px; }
.product-card-body p { font-size:13px; color:var(--text-light); line-height:1.6; }
.product-card-body .tags { display:flex; gap:6px; flex-wrap:wrap; margin-top:10px; }
.product-card-body .tag { font-size:11px; padding:2px 10px; border-radius:12px; background:var(--light-bg); color:var(--accent-muted); }
/* Services */
.services { background:var(--light-bg); }
.services-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.service-card { background:#fff; border-radius:12px; padding:28px 20px; text-align:center; border:1px solid var(--border); transition:all .3s; }
.service-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px var(--shadow); }
.service-card .icon { width:48px; height:48px; border-radius:12px; background:linear-gradient(135deg,var(--light-bg2),var(--light-bg)); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.service-card h4 { font-size:15px; color:var(--primary); margin-bottom:6px; }
.service-card p { font-size:13px; color:var(--text-light); line-height:1.5; }
/* Roadmap */
.timeline { position:relative; max-width:800px; margin:0 auto; }
.timeline::before { content:''; position:absolute; left:50%; top:0; bottom:0; width:2px; background:linear-gradient(to bottom,var(--primary),var(--accent),transparent); transform:translateX(-50%); }
.timeline-item { position:relative; display:flex; align-items:flex-start; margin-bottom:48px; }
.timeline-item:nth-child(odd) { flex-direction:row-reverse; }
.timeline-dot { position:absolute; left:50%; top:8px; width:14px; height:14px; border-radius:50%; background:var(--accent); border:3px solid #fff; box-shadow:0 0 0 2px var(--accent); transform:translateX(-50%); z-index:1; }
.timeline-content { width:calc(50% - 36px); background:var(--light-bg); border-radius:8px; padding:24px; border:1px solid var(--border); }
.timeline-content .year { font-size:20px; font-weight:700; color:var(--primary); font-family:var(--font-en); margin-bottom:4px; }
.timeline-content ul { list-style:none; padding:0; }
.timeline-content ul li { position:relative; padding-left:16px; margin-bottom:4px; font-size:14px; color:var(--text-light); }
.timeline-content ul li::before { content:'\\203A'; position:absolute; left:0; color:var(--accent); font-weight:700; }
.timeline-vision { text-align:center; margin-top:32px; padding:24px; background:linear-gradient(135deg,var(--primary),var(--accent)); border-radius:12px; color:#fff; }
.timeline-vision p { font-size:18px; font-weight:300; font-style:italic; opacity:.9; }
/* Contact */
.contact { background:var(--light-bg); }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.contact-info h3 { font-size:22px; color:var(--primary); margin-bottom:20px; }
.contact-item { display:flex; gap:14px; margin-bottom:20px; }
.contact-item .icon { flex-shrink:0; width:40px; height:40px; border-radius:10px; background:linear-gradient(135deg,var(--light-bg2),var(--light-bg)); display:flex; align-items:center; justify-content:center; }
.contact-item h5 { font-size:14px; color:var(--primary); margin-bottom:2px; }
.contact-item p { font-size:14px; color:var(--text-light); }
.contact-form { background:#fff; border-radius:12px; padding:32px; border:1px solid var(--border); }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:13px; font-weight:600; color:var(--text); margin-bottom:4px; }
.form-group input,.form-group textarea { width:100%; padding:10px 14px; border:1px solid var(--border); border-radius:8px; font-size:14px; font-family:inherit; transition:border-color .3s; background:#fff; }
.form-group input:focus,.form-group textarea:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(124,58,237,0.1); }
.form-group textarea { height:100px; resize:vertical; }
.form-submit { width:100%; padding:12px; background:linear-gradient(135deg,var(--primary),var(--accent)); color:#fff; border:none; border-radius:8px; font-size:15px; font-weight:600; cursor:pointer; font-family:inherit; transition:all .3s; }
.form-submit:hover { transform:translateY(-2px); box-shadow:0 8px 24px var(--shadow-lg); }
/* Footer */
footer { background:var(--primary); color:#fff; padding:48px 0 32px; }
.footer-inner { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; }
.footer-logo .logo-en { font-family:var(--font-en); font-weight:700; font-size:20px; letter-spacing:1px; }
.footer-logo .logo-zh { font-size:13px; opacity:.7; letter-spacing:1px; }
.footer-links { display:flex; gap:20px; list-style:none; }
.footer-links a { color:var(--light-text); font-size:13px; }
.footer-links a:hover { color:#fff; }
.footer-bottom { margin-top:32px; padding-top:20px; border-top:1px solid rgba(255,255,255,0.1); display:flex; justify-content:space-between; font-size:13px; opacity:.6; flex-wrap:wrap; gap:8px; }
/* Scroll top */
.scroll-top { position:fixed; bottom:32px; right:32px; width:44px; height:44px; border-radius:50%; background:var(--primary); color:#fff; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:18px; box-shadow:0 4px 12px var(--shadow-lg); opacity:0; visibility:hidden; transition:all .3s; z-index:999; }
.scroll-top.visible { opacity:1; visibility:visible; }
/* Responsive */
@media (max-width:1024px) { .model-grid { grid-template-columns:repeat(2,1fr); } .services-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:768px) {
  section { padding:56px 0; }
  .section-title { font-size:26px; }
  .mobile-menu-btn { display:block; }
  .nav-links { position:fixed; top:64px; left:0; right:0; background:#fff; flex-direction:column; padding:20px 24px; gap:16px; border-bottom:1px solid var(--border); box-shadow:0 8px 20px var(--shadow); transform:translateY(-100%); opacity:0; transition:all .3s; pointer-events:none; }
  .nav-links.open { transform:translateY(0); opacity:1; pointer-events:auto; }
  .lang-switch { margin-left:auto; }
  .hero h1 { font-size:32px; }
  .hero p { font-size:16px; }
  .hero-stats { gap:24px; flex-wrap:wrap; }
  .hero-stat h3 { font-size:22px; }
  .about-grid { grid-template-columns:1fr; gap:32px; }
  .about-cards,.model-grid,.services-grid,.contact-grid,.product-grid { grid-template-columns:1fr; }
  .timeline::before { left:20px; }
  .timeline-item,.timeline-item:nth-child(odd) { flex-direction:row; padding-left:48px; }
  .timeline-dot { left:20px; }
  .timeline-content { width:100%; }
  .footer-inner { flex-direction:column; text-align:center; }
  .footer-bottom { flex-direction:column; text-align:center; }
}
@media (max-width:480px) { .container { padding:0 16px; } .hero h1 { font-size:28px; } .hero-btns { flex-direction:column; } .btn { width:100%; justify-content:center; } }
html:not([lang="en"]) .en-only { display:none; }
html[lang="en"] .zh-only { display:none; }
.revenue-table { display: none !important; }
.roadmap,.timeline-vision { display: none !important; }
.service-card .icon svg { width: 24px; height: 24px; stroke: var(--accent); stroke-width: 1.8; fill: none; }
