﻿:root {
  --user-theme: rgb(250,250,250);
  
  --primary: #64748B;
  --secondary: #06B6D4;
  --bg-light: #F8FAFC;
  --bg-dark: #020617;
  --metal: #E5E7EB;
  --metal-dark: #94A3B8;
  --accent: #0EA5E9;
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-light: rgba(100, 116, 139, 0.15);
  
  --font-base: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-base); background-color: var(--bg-light); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: all 0.3s ease; }


.site-header { position: sticky; top: 0; z-index: 900; width: 100%; background: rgba(248, 250, 252, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(15, 23, 42, 0.08); }
.header-inner { width: min(1200px, calc(100% - 32px)); margin: 0 auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; flex-shrink: 0; }
.logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
.logo span { display: inline-block; font-size: 18px; font-weight: 800; line-height: 1.2; color: #111827; white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; }
.desktop-nav::-webkit-scrollbar { display: none; }
.desktop-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #334155; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.desktop-nav a:hover { background: rgba(100, 116, 139, 0.1); color: var(--primary); }
.mobile-menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: rgba(15, 23, 42, 0.08); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; flex-shrink: 0; }
.mobile-menu-btn span { display: block; width: 20px; height: 2px; border-radius: 99px; background: #111827; }
.mobile-nav-mask { position: fixed; inset: 0; z-index: 998; background: rgba(15, 23, 42, 0.54); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
.mobile-drawer { position: fixed; top: 0; left: 0; z-index: 999; width: min(86vw, 360px); height: 100vh; height: 100dvh; background: #ffffff; color: #111827; transform: translateX(-105%); transition: transform .28s ease; box-shadow: 24px 0 60px rgba(15, 23, 42, 0.22); display: flex; flex-direction: column; overflow: hidden; }
.drawer-head { min-height: 76px; padding: 18px 18px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(15, 23, 42, 0.08); flex-shrink: 0; }
.drawer-logo img { height: 36px; max-width: 130px; }
.drawer-logo span { max-width: 150px; font-size: 17px; }
.drawer-close { width: 40px; height: 40px; border: 0; border-radius: 14px; background: rgba(15, 23, 42, 0.08); color: #111827; font-size: 26px; line-height: 1; cursor: pointer; flex-shrink: 0; }
.drawer-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px; }
.drawer-nav { display: flex; flex-direction: column; gap: 8px; }
.drawer-nav a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 13px 14px; border-radius: 14px; background: rgba(15, 23, 42, 0.04); color: #111827; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.35; word-break: break-word; overflow-wrap: anywhere; }
.drawer-nav a:hover { background: rgba(100, 116, 139, 0.12); color: var(--primary); }
body.drawer-open { overflow: hidden; touch-action: none; }
body.drawer-open .mobile-nav-mask { opacity: 1; visibility: visible; pointer-events: auto; }
body.drawer-open .mobile-drawer { transform: translateX(0); }


.site-footer { width: 100%; background: #0f172a; color: #e5e7eb; overflow: hidden; margin-top: 60px; }
.footer-inner { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0 34px; display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, .8fr)); gap: 28px; align-items: start; }
.footer-logo span { color: #ffffff; }
.footer-brand p { margin: 18px 0 0; color: rgba(226, 232, 240, 0.78); line-height: 1.8; font-size: 14px; max-width: 420px; }
.footer-column h3 { margin: 0 0 14px; color: #ffffff; font-size: 15px; font-weight: 800; }
.footer-column ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-column li, .footer-column a { color: rgba(226, 232, 240, 0.78); font-size: 14px; line-height: 1.55; text-decoration: none; word-break: break-word; overflow-wrap: anywhere; }
.footer-column a:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom { width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 24px; border-top: 1px solid rgba(226, 232, 240, 0.12); display: flex; align-items: center; justify-content: space-between; gap: 14px; color: rgba(226, 232, 240, 0.68); font-size: 13px; line-height: 1.6; }

@media (max-width: 900px) {
  .header-inner { width: min(100% - 24px, 1200px); min-height: 64px; gap: 12px; }
  .desktop-nav { display: none !important; }
  .mobile-menu-btn { display: inline-flex !important; }
  .logo img { height: 34px; max-width: 120px; }
  .logo span { font-size: 16px; max-width: 150px; }
  .footer-inner { width: min(100% - 24px, 1200px); grid-template-columns: 1fr 1fr; gap: 24px 18px; padding: 42px 0 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { width: min(100% - 24px, 1200px); flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .mobile-drawer { width: 88vw; }
  .logo span { max-width: 120px; }
  .drawer-logo span { max-width: 120px; }
  .footer-inner { grid-template-columns: 1fr; }
}


.btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; background: var(--primary); color: #fff; border-radius: 8px; font-weight: 700; transition: background 0.3s; border: 1px solid transparent; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; background: transparent; color: var(--metal); border: 1px solid var(--metal); border-radius: 8px; font-weight: 700; transition: all 0.3s; }
.btn-secondary:hover { background: rgba(229, 231, 235, 0.1); color: #fff; border-color: #fff; }


.hero-layout-05 { position: relative; width: 100%; min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg-dark); color: #fff; text-align: center; overflow: hidden; padding: 120px 20px 80px; z-index: 1; }
.hero-layout-05::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(100, 116, 139, 0.3) 0%, var(--bg-dark) 70%); z-index: -1; }
.hero-layout-05::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to top, var(--bg-dark), transparent); z-index: -1; pointer-events: none; }
.hero-05-container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 1000px; width: 100%; }
.hero-05-badge { background: rgba(229, 231, 235, 0.1); border: 1px solid rgba(229, 231, 235, 0.2); padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; color: var(--metal); }
.hero-05-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; text-transform: uppercase; background: linear-gradient(180deg, #FFFFFF 0%, var(--metal-dark) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-05-desc { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(229, 231, 235, 0.8); max-width: 760px; margin-bottom: 40px; }
.hero-05-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 60px; }
.hero-05-visual-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; max-width: 1100px; margin-top: auto; }
.hero-05-card { background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(100, 116, 139, 0.3); border-radius: 12px; padding: 24px; text-align: left; backdrop-filter: blur(8px); transition: transform 0.3s, border-color 0.3s; }
.hero-05-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.hero-05-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.hero-05-card p { font-size: 0.9rem; color: rgba(229, 231, 235, 0.7); line-height: 1.4; }
.hero-05-card-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(100, 116, 139, 0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--secondary); font-size: 20px; font-weight: bold; }

@media (max-width: 768px) {
  .hero-05-visual-panel { grid-template-columns: 1fr; }
  .hero-layout-05 { padding: 100px 20px 60px; }
}


.section-pad { padding: 80px 20px; }
.section-pad.bg-alt { background-color: #F1F5F9; }
.container { width: min(1200px, 100%); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: 2.2rem; color: var(--text-main); margin-bottom: 16px; font-weight: 800; }
.section-head p { font-size: 1.1rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }


.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-box { background: #fff; padding: 40px 30px; border-radius: 16px; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04); border: 1px solid var(--border-light); text-align: center; transition: all 0.3s; }
.feature-box:hover { box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); transform: translateY(-5px); border-color: var(--primary); }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: rgba(100, 116, 139, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 24px; }
.feature-box h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text-main); }
.feature-box p { color: var(--text-muted); font-size: 0.95rem; }


.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; gap: 18px; } }
.article-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-light); transition: box-shadow 0.3s; display: flex; flex-direction: column; }
.article-card:hover { box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08); }
.article-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #E2E8F0; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.article-card:hover .article-img img { transform: scale(1.05); }
.article-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; flex-wrap: wrap; }
.article-title { font-size: 1.1rem; font-weight: 700; color: var(--text-main); margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-summary { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-light); padding-top: 16px; }
.article-read-btn { font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.article-tags { font-size: 0.8rem; color: var(--secondary); }


.cta-section { background: var(--primary); color: #fff; padding: 80px 20px; text-align: center; border-radius: 24px; margin: 60px auto; max-width: min(1200px, calc(100% - 40px)); }
.cta-section h2 { font-size: 2.2rem; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-inline: auto; }
.btn-cta { background: #fff; color: var(--primary); padding: 14px 32px; border-radius: 8px; font-weight: 700; font-size: 1.1rem; display: inline-flex; }
.btn-cta:hover { background: var(--bg-light); transform: translateY(-2px); }