/* ccas01 - 原版蓝 | 现代企业门户模板（基于 chile-casinos.com 视觉风格） */
:root {
  --ccas-primary: #1c64f2;
  --ccas-primary-dark: #1648b0;
  --ccas-primary-light: #3b82f6;
  --ccas-bg: #ffffff;
  --ccas-sub-bg: #f8fafc;
  --ccas-text: #1e293b;
  --ccas-text-2: #64748b;
  --ccas-border: #e2e8f0;
  --ccas-muted: #94a3b8;
  --ccas-white: #ffffff;
  --ccas-shadow: 0 4px 12px rgba(0,0,0,.08);
  --ccas-shadow-hover: 0 8px 24px rgba(0,0,0,.12);
}
* { box-sizing: border-box; }
body { font-family: "Microsoft YaHei","PingFang SC",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; color: var(--ccas-text); margin: 0; background: var(--ccas-bg); line-height: 1.6; font-size: 15px; }
a { color: var(--ccas-primary); text-decoration: none; transition: color .25s; }
a:hover { color: var(--ccas-primary-dark); }

/* 通用容器 */
.ccas-container { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 20px; }

/* ===== 头部导航 ===== */
.ccas-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.98); box-shadow: 0 2px 6px rgba(0,0,0,.04); border-bottom: 1px solid var(--ccas-border); }
.ccas-header .ccas-nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.ccas-header .ccas-logo { font-size: 1.4rem; font-weight: 700; color: var(--ccas-primary); }
.ccas-header .ccas-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 8px; }
.ccas-header .ccas-menu li a { display: block; padding: 8px 16px; color: #374151; font-size: 15px; border-radius: 6px; transition: .25s; }
.ccas-header .ccas-menu li a:hover { color: var(--ccas-primary); background: var(--ccas-sub-bg); }
.ccas-header .ccas-menu li.active a { color: var(--ccas-primary); }
.ccas-header .ccas-login-btn { padding: 8px 20px; background: var(--ccas-primary); color: #fff !important; border-radius: 6px; font-weight: 500; transition: .25s; }
.ccas-header .ccas-login-btn:hover { background: var(--ccas-primary-dark); color: #fff !important; transform: translateY(-1px); }

/* ===== Hero 英雄横幅 ===== */
.ccas-hero { background: linear-gradient(135deg, var(--ccas-primary) 0%, var(--ccas-primary-light) 100%); color: #fff; padding: 100px 0 110px; text-align: center; position: relative; overflow: hidden; }
.ccas-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><circle cx='40' cy='40' r='1.5' fill='rgba(255,255,255,.08)'/></svg>") repeat; pointer-events: none; }
.ccas-hero h1 { font-size: 2.6rem; font-weight: 800; margin: 0 0 20px; line-height: 1.3; }
.ccas-hero p { font-size: 1.05rem; line-height: 1.7; max-width: 760px; margin: 0 auto 32px; color: rgba(255,255,255,.92); }
.ccas-hero .ccas-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ccas-hero .ccas-btn { display: inline-block; padding: 13px 32px; border-radius: 6px; font-weight: 600; font-size: 15px; transition: .25s; cursor: pointer; }
.ccas-hero .ccas-btn-primary { background: #fff; color: var(--ccas-primary) !important; }
.ccas-hero .ccas-btn-primary:hover { background: rgba(255,255,255,.92); transform: translateY(-2px); }
.ccas-hero .ccas-btn-ghost { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.7); }
.ccas-hero .ccas-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ===== 分区通用 ===== */
.ccas-section { padding: 80px 0; }
.ccas-section.alt { background: var(--ccas-sub-bg); }
.ccas-stitle { text-align: center; margin-bottom: 50px; }
.ccas-stitle h2 { font-size: 2rem; font-weight: 700; color: var(--ccas-text); margin: 0 0 12px; }
.ccas-stitle p { color: var(--ccas-text-2); font-size: 1rem; margin: 0; }
.ccas-stitle::after { content: ''; display: block; width: 50px; height: 3px; background: var(--ccas-primary); margin: 16px auto 0; border-radius: 2px; }

/* ===== 4列服务 ===== */
.ccas-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ccas-service-card { background: #fff; border-radius: 8px; padding: 36px 24px; text-align: center; box-shadow: var(--ccas-shadow); transition: .3s; border: 1px solid var(--ccas-border); }
.ccas-service-card:hover { transform: translateY(-4px); box-shadow: var(--ccas-shadow-hover); }
.ccas-service-card .ccas-icon { width: 64px; height: 64px; margin: 0 auto 18px; background: var(--ccas-sub-bg); color: var(--ccas-primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.ccas-service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--ccas-text); margin: 0 0 10px; }
.ccas-service-card p { color: var(--ccas-text-2); font-size: 14px; margin: 0; }

/* ===== 4项统计 ===== */
.ccas-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.ccas-stat-item { padding: 20px 14px; }
.ccas-stat-num { font-size: 2.6rem; font-weight: 800; color: var(--ccas-primary); line-height: 1.2; margin-bottom: 6px; }
.ccas-stat-label { color: var(--ccas-text-2); font-size: 15px; }

/* ===== 关于我们 ===== */
.ccas-about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ccas-about-text h2 { font-size: 2rem; font-weight: 700; color: var(--ccas-text); margin: 0 0 20px; }
.ccas-about-text p { color: var(--ccas-text-2); font-size: 15px; line-height: 1.8; margin: 0 0 16px; }
.ccas-about-text .ccas-btn { display: inline-block; padding: 11px 28px; background: var(--ccas-primary); color: #fff !important; border-radius: 6px; font-weight: 500; margin-top: 10px; }
.ccas-about-text .ccas-btn:hover { background: var(--ccas-primary-dark); }
.ccas-about-image { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--ccas-primary), var(--ccas-primary-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 1.4rem; font-weight: 600; box-shadow: var(--ccas-shadow); }

/* ===== 3列新闻 ===== */
.ccas-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ccas-news-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--ccas-shadow); transition: .3s; border: 1px solid var(--ccas-border); }
.ccas-news-card:hover { transform: translateY(-4px); box-shadow: var(--ccas-shadow-hover); }
.ccas-news-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--ccas-primary), var(--ccas-primary-light)); position: relative; }
.ccas-news-thumb::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><path d='M0,0 L60,60 M60,0 L0,60' stroke='rgba(255,255,255,.08)' stroke-width='1'/></svg>") repeat; }
.ccas-news-body { padding: 22px 20px; }
.ccas-news-tag { display: inline-block; padding: 3px 10px; background: var(--ccas-sub-bg); color: var(--ccas-primary); border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.ccas-news-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--ccas-text); margin: 0 0 10px; line-height: 1.5; }
.ccas-news-body p { color: var(--ccas-text-2); font-size: 14px; line-height: 1.6; margin: 0 0 12px; }
.ccas-news-date { color: var(--ccas-muted); font-size: 13px; }
.ccas-news-more { text-align: center; margin-top: 36px; }
.ccas-news-more .ccas-btn { display: inline-block; padding: 11px 32px; background: var(--ccas-primary); color: #fff !important; border-radius: 6px; font-weight: 500; }
.ccas-news-more .ccas-btn:hover { background: var(--ccas-primary-dark); }

/* ===== FAQ 常见问题 ===== */
.ccas-faq { max-width: 880px; margin: 0 auto; }
.ccas-faq-item { background: #fff; border: 1px solid var(--ccas-border); border-radius: 8px; margin-bottom: 12px; overflow: hidden; transition: .25s; }
.ccas-faq-item:hover { border-color: var(--ccas-primary); }
.ccas-faq-q { padding: 18px 24px; background: #fff; cursor: pointer; font-weight: 600; color: var(--ccas-text); display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.ccas-faq-q::before { content: 'Q'; color: var(--ccas-primary); font-weight: 700; margin-right: 12px; }
.ccas-faq-q::after { content: '+'; color: var(--ccas-primary); font-size: 22px; line-height: 1; }
.ccas-faq-a { padding: 0 24px 20px; color: var(--ccas-text-2); line-height: 1.8; font-size: 14px; display: none; }
.ccas-faq-a::before { content: 'A'; color: var(--ccas-primary); font-weight: 700; margin-right: 12px; }
.ccas-faq-item.open .ccas-faq-a { display: block; }
.ccas-faq-item.open .ccas-faq-q::after { content: '−'; }

/* ===== CTA 行动号召 ===== */
.ccas-cta { background: linear-gradient(135deg, var(--ccas-primary) 0%, var(--ccas-primary-light) 100%); padding: 70px 0; text-align: center; color: #fff; }
.ccas-cta h2 { font-size: 2rem; font-weight: 700; margin: 0 0 14px; }
.ccas-cta p { font-size: 1.05rem; margin: 0 0 28px; color: rgba(255,255,255,.92); }
.ccas-cta .ccas-btn { display: inline-block; padding: 13px 36px; background: #fff; color: var(--ccas-primary) !important; border-radius: 6px; font-weight: 600; transition: .25s; }
.ccas-cta .ccas-btn:hover { background: rgba(255,255,255,.92); transform: translateY(-2px); }

/* ===== 三列页脚 ===== */
.ccas-footer { background: #1e293b; color: #cbd5e1; padding: 50px 0 24px; }
.ccas-footer .ccas-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.ccas-footer h4 { color: #fff; font-size: 1.05rem; font-weight: 600; margin: 0 0 16px; }
.ccas-footer p, .ccas-footer a, .ccas-footer li { color: #cbd5e1; font-size: 14px; line-height: 1.9; }
.ccas-footer ul { list-style: none; margin: 0; padding: 0; }
.ccas-footer ul li a:hover { color: var(--ccas-primary-light); }
.ccas-footer .ccas-footer-bottom { border-top: 1px solid #334155; padding-top: 20px; text-align: center; font-size: 13px; color: #94a3b8; }
.ccas-footer .ccas-footer-bottom a { color: #94a3b8; margin: 0 8px; }
.ccas-footer .ccas-footer-bottom a:hover { color: #fff; }

/* 面包屑 */
.ccas-breadcrumb { padding: 14px 0; background: var(--ccas-sub-bg); font-size: 14px; color: var(--ccas-text-2); }
.ccas-breadcrumb a { color: var(--ccas-text-2); }
.ccas-breadcrumb a:hover { color: var(--ccas-primary); }
.ccas-breadcrumb span { margin: 0 6px; }

/* 响应式 */
@media (max-width: 1024px) {
  .ccas-container { width: 100%; }
  .ccas-services, .ccas-stats, .ccas-news { grid-template-columns: repeat(2, 1fr); }
  .ccas-about { grid-template-columns: 1fr; }
  .ccas-footer .ccas-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ccas-hero h1 { font-size: 1.8rem; }
  .ccas-section { padding: 50px 0; }
  .ccas-services, .ccas-stats, .ccas-news { grid-template-columns: 1fr; }
  .ccas-footer .ccas-footer-grid { grid-template-columns: 1fr; }
  .ccas-header .ccas-menu { display: none; }
}
