:root {
  --navy: #0f2a43;
  --navy-2: #16405f;
  --blue: #1677ff;
  --blue-dark: #0e5fd8;
  --blue-light: #eaf4ff;
  --gold: #c8963e;
  --gold-dark: #b07f2c;
  --text: #24303c;
  --muted: #5f6b78;
  --bg: #f2f8ff;
  --white: #ffffff;
  --border: #dbe9f8;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(15, 42, 67, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, Helvetica, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
    .brand-logo { height: 40px; width: auto; }
    .brand-name { font-size: 23px; font-weight: 800; color: var(--navy); letter-spacing: 0.5px; }
    .brand-name::before { content: ''; display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); margin-right: 9px; vertical-align: 2px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
    .site-nav a { position: relative; color: var(--text); font-weight: 500; font-size: 15px; padding: 6px 2px; }
    .site-nav a:hover { color: var(--blue); }
    .site-nav a.active { color: var(--gold); font-weight: 700; }
    .site-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; border-radius: 2px; background: var(--gold); }
    .nav-cta { margin-left: 18px; padding: 8px 20px; font-size: 14px; font-weight: 600; color: var(--gold); border: 1.5px solid var(--gold); border-radius: 6px; background: transparent; transition: all 0.2s; }
    .nav-cta:hover { background: var(--gold); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); }

/* buttons */
.btn { display: inline-block; padding: 10px 22px; border-radius: 6px; font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: 0.2s; }
.btn-gold { background: var(--blue); color: #fff; }
.btn-gold:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-wa { background: #25d366; color: #fff; margin-top: 8px; }
.btn-wa:hover { background: #1eb958; }

/* hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1d5279 100%); color: #fff; padding: 56px 0 60px; }
    .hero-inner { display: flex; align-items: center; gap: 36px; }
    .hero-text { flex: 1; min-width: 0; }
    .hero-kicker { color: #9cc4ff; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
    .hero h1 { font-size: 42px; line-height: 1.2; max-width: 700px; margin-bottom: 18px; }
    .hero-sub { font-size: 17px; opacity: 0.92; max-width: 640px; margin-bottom: 34px; }
    .hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
    .hero-visual { flex: 0 0 380px; display: flex; flex-direction: column; gap: 14px; }
    .hero-card { background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); height: 118px; display: flex; align-items: center; justify-content: center; }
    .hero-card img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; }
    @media (max-width: 900px) { .hero-inner { flex-direction: column; } .hero-visual { flex: 0 0 auto; width: 100%; flex-direction: row; } .hero-card { flex: 1; height: 100px; } }

/* sections */
.section { padding: 70px 0; }
.section-gray { background: var(--bg); }
.section-title { font-size: 30px; color: var(--navy); margin-bottom: 12px; }
.lead { font-size: 17px; max-width: 900px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat { background: var(--bg); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.stat strong { display: block; font-size: 30px; color: var(--navy); }
.stat span { color: var(--muted); font-size: 14px; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: 0.25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(15,42,67,0.14); }
.cat-img { height: 220px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cat-img img { max-height: 100%; object-fit: contain; }
.cat-body { padding: 20px; }
.cat-body h3 { color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.cat-body p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.cat-link { color: var(--blue); font-weight: 600; font-size: 14px; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 30px 0; }
.why { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.why h3 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 14px; }

/* shop banner */
.shop-banner { width: 100%; background: var(--white); }
.shop-banner img { width: 100%; height: auto; display: block; }

/* video */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.video-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-card video { width: 100%; aspect-ratio: 16/9; background: #000; display: block; }
.video-card h3 { color: var(--navy); margin: 16px 18px 4px; font-size: 17px; }
.video-card p { color: var(--muted); margin: 0 18px 18px; font-size: 14px; }
.video-card-empty .video-placeholder { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #b9c6d4; display: flex; align-items: center; justify-content: center; font-size: 16px; text-align: center; line-height: 1.8; }
@media (max-width: 620px) { .video-grid { grid-template-columns: 1fr; } }

/* cta band */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 44px; }
.cta-band h3 { font-size: 22px; }

/* page hero */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 64px 0; }
.page-hero h1 { font-size: 38px; margin-bottom: 8px; }
.page-hero p { opacity: 0.9; font-size: 16px; }
.breadcrumb { font-size: 13px !important; opacity: 0.8; margin-bottom: 6px; }
.breadcrumb a { color: #fff; text-decoration: underline; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-num { color: var(--blue); font-weight: 800; font-size: 22px; }
.step h3 { color: var(--navy); margin: 8px 0; }
.step p { color: var(--muted); font-size: 14px; }

/* commit */
.commit-list { margin: 24px 0 0 18px; }
.commit-list li { margin-bottom: 10px; font-size: 16px; }

/* product grid */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.prod-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: 0.25s; }
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(15,42,67,0.14); }
.prod-img { height: 210px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; }
.prod-img img { max-height: 100%; object-fit: contain; }
.prod-body { padding: 16px 18px; }
.prod-body h3 { color: var(--navy); font-size: 15.5px; margin-bottom: 4px; }
.prod-series { color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.prod-link { color: var(--blue); font-weight: 600; font-size: 13.5px; }

/* product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pd-img { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; align-items: center; justify-content: center; min-height: 380px; }
    .pd-img img { max-height: 420px; object-fit: contain; }
    .pd-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
    .pd-thumb { width: 64px; height: 64px; object-fit: cover; border: 2px solid var(--border); border-radius: 8px; cursor: pointer; background: #fff; padding: 4px; transition: border-color 0.2s; }
    .pd-thumb:hover { border-color: var(--blue); }
    .pd-thumb.active { border-color: var(--gold); }
.param-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.param-table th, .param-table td { padding: 11px 14px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--border); }
.param-table th { background: var(--navy); color: #fff; width: 42%; font-weight: 600; }
.param-table tr:nth-child(even) td { background: var(--bg); }
.feat-list { margin: 20px 0 0 18px; columns: 2; column-gap: 40px; }
.feat-list li { margin-bottom: 10px; font-size: 15px; }

/* applications */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.app-card h3 { color: var(--navy); margin-bottom: 10px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.contact-form-wrap h2, .contact-info h2 { color: var(--navy); margin-bottom: 18px; }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.f-row { margin-bottom: 16px; }
.f-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.f-row input, .f-row textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 6px; font-size: 15px; font-family: inherit; }
.f-row input:focus, .f-row textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.contact-info p { margin-bottom: 16px; font-size: 15px; }
.contact-info .note { color: var(--muted); font-size: 13.5px; }

/* footer */
.site-footer { background: var(--navy); color: #cfd8e2; padding: 56px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand h4 { margin-bottom: 0; font-size: 18px; }
.footer-logo { height: 46px; width: auto; }
.site-footer a { color: #cfd8e2; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 24px; font-size: 13px; color: #93a4b4; }

/* responsive */
@media (max-width: 980px) {
  .cat-grid, .why-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product-detail, .contact-grid { grid-template-columns: 1fr; }
  .site-nav { position: fixed; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--border); display: none; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
}
@media (max-width: 620px) {
  .cat-grid, .why-grid, .prod-grid, .steps, .stats, .app-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .feat-list { columns: 1; }
}
