
/* --- index.html --- */
:root { --cyan: #009fe3; --cyan-dark: #008dca; --maroon: #8e1527; --text: #141414; --text-secondary: #313131; --muted: #6d6d6d; --surface: #ffffff; --surface-soft: #f7f7f7; --line: rgba(20, 20, 20, 0.08); --container: 1240px; --pill: 9999px; --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06); }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; font-family: "Poppins", "Noto Sans KR", Arial, sans-serif; color: var(--text); background: var(--surface); line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
    .kr { font-family: "Noto Sans KR", "Poppins", Arial, sans-serif; word-break: keep-all; overflow-wrap: break-word; }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    .container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
    .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.04em; text-transform: uppercase; }
    .eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }
    .utility-bar { background: var(--maroon); color: #fff; font-size: 14px; }
    .utility-bar .container { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
    .nav { background: #111; position: sticky; top: 0; z-index: 100; }
    .nav .container { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
    .brand { display: inline-flex; align-items: center; }
    .brand img { height: 50px; width: auto; display: block; }
    .nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.85); align-items: center; }
    .nav-links a { display: inline-block; line-height: 1; }
    .nav-links a:hover { color: #fff; }
    .nav-links a.active { color: var(--cyan); }
    .nav-cta { display: inline-block; padding: 14px 22px; border-radius: var(--pill); background: var(--cyan); color: #fff !important; font-weight: 600; line-height: 1; transform: none; }
    .nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 0; }
    .nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: 0.2s; margin: 0 auto; }
    .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: 0.2s; z-index: 101; }
    .nav-drawer { position: fixed; top: 0; right: 0; width: min(280px, 80vw); height: 100vh; background: #111; padding: 80px 24px 24px; transform: translateX(100%); transition: 0.25s ease; z-index: 102; }
    .nav-drawer a { display: block; padding: 14px 0; font-size: 18px; font-weight: 500; color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-drawer a.active { color: var(--cyan); }
    .nav-drawer .nav-cta { display: block; margin-top: 18px; width: 100%; text-align: center; }
    body.nav-open { overflow: hidden; }
    body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
    body.nav-open .nav-drawer { transform: translateX(0); }
    .hero { position: relative; min-height: 85vh; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.42)), radial-gradient(circle at 75% 20%, rgba(0,159,227,0.22), transparent 28%), linear-gradient(135deg, rgba(18,18,18,0.55), rgba(32,32,32,0.35)), url("../images/main-hero.png") center/cover; overflow: hidden; display: flex; align-items: center; }
    .hero .eyebrow { color: rgba(255,255,255,0.94); background: rgba(10,10,10,0.34); padding: 10px 16px; border-radius: var(--pill); backdrop-filter: blur(10px); }
    .hero .eyebrow::before { background: var(--cyan); }
    .hero-content { position: relative; z-index: 2; padding: 80px 0; }
    .hero-copy { max-width: 900px; }
    .hero-copy h1 { margin: 20px 0 18px; font-size: clamp(50px, 7vw, 90px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; word-break: keep-all; overflow-wrap: normal; }
    .hero-copy h1 .widow-safe { white-space: nowrap; }
    .hero-copy h1 .hero-accent { color: var(--cyan); display: inline-block; white-space: nowrap; word-break: keep-all; }
    .hero-copy p { max-width: 1080px; margin: 0 0 40px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.4; color: rgba(255,255,255,0.92); font-weight: 600; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: var(--pill); font-size: 16px; font-weight: 600; transition: 180ms ease; border: 2px solid transparent; }
    .btn-primary { background: var(--cyan); color: #fff; border-color: var(--cyan); }
    .btn-primary:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); }
    .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.86); }
    .btn-secondary:hover { background: rgba(255,255,255,0.1); }
    section { padding: 100px 0; }
    .section-head { max-width: 1080px; margin-bottom: 48px; }
    .section-head h2 { margin: 16px 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 700; word-break: keep-all; overflow-wrap: break-word; }
    .section-head p { margin: 0; color: var(--text-secondary); font-size: 21px; word-break: keep-all; overflow-wrap: break-word; }
    .products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .product-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); transition: box-shadow 0.3s; display: flex; flex-direction: column; height: 100%; }
    .product-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
    .product-visual { height: 220px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--cyan); font-size: 48px; font-weight: 800; }
    .product-visual img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 20px; }
    .product-visual span { opacity: 0.3; }
    .product-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
    .product-body h3 { margin: 0 0 8px; font-size: 30px; letter-spacing: -0.03em; font-weight: 700; }
    .product-body .subtitle { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
    .product-body p { margin: 0 0 20px; color: var(--text-secondary); font-size: 18px; }
    .product-card .btn { width: 100%; margin-top: auto; }
    .trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-soft); padding: 60px 0; }
    .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
    .trust-item { padding: 24px; }
    .trust-item .number { display: block; font-size: 42px; font-weight: 800; color: var(--cyan); letter-spacing: -0.03em; }
    .trust-item .label { margin-top: 8px; font-size: 14px; color: var(--text-secondary); }
    .company-diagram-section { background: #fff; }
    .capability-head { margin-bottom: 32px; text-align: center; }
    .capability-head h2 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; }
    .capability-head p { margin: 0 auto; color: var(--text-secondary); font-size: 20px; max-width: 860px; }
    .capability-brand-mark { display: flex; justify-content: center; margin-bottom: 28px; }
    .capability-brand-mark img { width: min(100%, 360px); background: #fff; padding: 18px 24px; border-radius: 26px; box-shadow: var(--shadow-soft); }
    .capability-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .capability-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 30px; box-shadow: var(--shadow-soft); }
    .capability-card h3 { margin: 0 0 16px; font-size: 28px; line-height: 1.2; color: #173f69; letter-spacing: -0.02em; }
    .capability-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
    .capability-card li { position: relative; padding-left: 20px; font-size: 19px; line-height: 1.55; color: var(--text-secondary); }
    .capability-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 700; }
    .cta-section { background: linear-gradient(135deg, #101010, #1f1f1f); color: #fff; text-align: center; padding: 100px 0; }
    .cta-section h2 { margin: 16px 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; word-break: keep-all; overflow-wrap: break-word; }
    .cta-section p { margin: 0 auto 36px; color: rgba(255,255,255,0.76); font-size: 18px; max-width: 800px; word-break: keep-all; overflow-wrap: break-word; }
    footer { background: var(--maroon); color: #fff; padding: 48px 0 32px; }
    .footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 0.8fr); gap: 32px; }
    .footer-brand { display: inline-flex; align-items: center; margin-bottom: 12px; padding: 8px 14px; background: #fff; border-radius: 18px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
    .footer-brand img { height: 44px; width: auto; display: block; }
    .footer-col h4 { margin: 0 0 16px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
    .footer-col a, .footer-col p { display: block; margin: 0 0 10px; color: rgba(255,255,255,0.82); font-size: 14px; }
    .footer-col a:hover { color: #fff; }
    .footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.65); font-size: 13px; text-align: center; }
    @media (max-width: 900px) { .nav-links { display: none; } .nav-toggle { display: flex; } .products { grid-template-columns: 1fr; } .trust-grid { grid-template-columns: repeat(2, 1fr); } .capability-cards { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 600px) { .hero { min-height: auto; } .hero-content { padding: 60px 0; } .hero-actions { flex-direction: column; } .btn { width: 100%; } section { padding: 72px 0; } .trust-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } }

    /* Popup Styles */
    .popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; padding: 20px; }
    .popup-overlay.active { opacity: 1; visibility: visible; }
    .popup-content { background: #fff; width: 100%; max-width: 420px; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.2); transform: translateY(20px); transition: transform 0.3s ease; position: relative; }
    .popup-overlay.active .popup-content { transform: translateY(0); }
    .popup-body { padding: 40px 30px 30px; text-align: center; }
    .popup-body h3 { margin: 0 0 16px; font-size: 24px; color: var(--text); letter-spacing: -0.02em; font-weight: 700; }
    .popup-body p { margin: 0 0 24px; color: var(--text-secondary); font-size: 16px; line-height: 1.6; word-break: keep-all; }
    .popup-close-btn { position: absolute; top: 16px; right: 16px; background: transparent; border: none; width: 32px; height: 32px; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.2s; color: var(--text-secondary); }
    .popup-close-btn:hover { background: var(--surface-soft); color: var(--text); }
    .popup-close-btn svg { width: 20px; height: 20px; }
    .popup-footer { display: flex; border-top: 1px solid var(--line); background: var(--surface-soft); }
    .popup-footer label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; cursor: pointer; font-size: 14px; color: var(--text-secondary); border-right: 1px solid var(--line); user-select: none; margin: 0; }
    .popup-footer label:hover { background: #eee; }
    .popup-footer input[type="checkbox"] { accent-color: var(--cyan); width: 16px; height: 16px; margin: 0; cursor: pointer; }
    .popup-footer button { flex: 1; background: transparent; border: none; padding: 14px; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; transition: background 0.2s; }
    .popup-footer button:hover { background: #eee; }

/* --- about.html --- */
    .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--cyan); letter-spacing: 0.04em; text-transform: uppercase; }
    .page-header { background: linear-gradient(135deg, #0a0a0a, #1a1a1a); color: #fff; padding: 80px 0 60px; }
    .page-header h1 { margin: 16px 0 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; }
    .page-header p { margin: 20px 0 0; font-size: 34px; color: rgba(255,255,255,0.9); max-width: 1000px; font-weight: 700; word-break: keep-all; overflow-wrap: break-word; }
    .section-head { margin-bottom: 48px; }
    .section-head h2 { margin: 16px 0; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.1; letter-spacing: -0.03em; }
    .section-head p { margin: 0; color: var(--text-secondary); font-size: 17px; }
    .split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .split-image { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); min-height: 400px; display: flex; align-items: center; justify-content: center; padding: 32px; }
    .split-image img { width: 100%; height: 100%; object-fit: contain; }
    .split-content h3 { margin: 0 0 20px; font-size: 40px; letter-spacing: -0.03em; line-height: 1.12; }
    .split-content p { margin: 0 0 16px; color: var(--text-secondary); font-size: 24px; line-height: 1.7; }
    .project-summary { margin-top: 60px; }
    .project-table-wrap { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
    .project-table { width: 100%; border-collapse: collapse; background: #ffffff; color: var(--text); }
    .project-table th, .project-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 17px; vertical-align: middle; }
    .project-table th { background: var(--surface-soft); color: var(--text-secondary); font-size: 16px; font-weight: 600; }
    .project-table td strong { font-size: 18px; color: var(--text); line-height: 1.35; display: inline-block; }
    .project-badge { display: inline-block; margin-right: 6px; margin-bottom: 6px; padding: 6px 10px; border-radius: 999px; background: var(--cyan); color: #fff; font-size: 13px; font-weight: 700; }
    .project-badge.project-badge-wide { padding-left: 14px; padding-right: 14px; }
    .project-banner { margin-top: 18px; padding: 22px 28px; border-radius: 18px; background: var(--surface-soft); color: var(--cyan); font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.2; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
    .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .value-card { border-top: 3px solid var(--cyan); padding: 28px 0 0; }
    .value-card h4 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.02em; }
    .value-card p { margin: 0; color: var(--text-secondary); font-size: 15px; }
    .capability-band { background: var(--surface-soft); }
    .capability-visual-wrap { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-soft); }
    .capability-visual { display: block; width: 75%; max-width: 100%; height: auto; margin: 0 auto; }
    .logo-marquee-section { margin-top: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 18px 0; box-shadow: var(--shadow-soft); }
    .logo-marquee-track { display: flex; width: max-content; align-items: center; animation: partner-marquee 30s linear infinite; }
    .logo-marquee-group { display: flex; align-items: center; gap: 16px; flex-shrink: 0; padding: 0 16px; }
    .logo-chip { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 176px; height: 88px; padding: 18px 24px; border-radius: 22px; background: var(--surface-soft); border: 1px solid rgba(20, 20, 20, 0.06); }
    .logo-chip img { display: block; max-width: 100%; max-height: 42px; width: auto; height: auto; object-fit: contain; }
    .logo-chip--wide { min-width: 210px; }
    .logo-chip--wordmark { min-width: 196px; }
    @keyframes partner-marquee {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }
    @media (max-width: 900px) { .nav-links { display: none; } .nav-toggle { display: flex; } .split { grid-template-columns: 1fr; gap: 40px; } .stats-grid, .values-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 700px) {
      .capability-visual { width: 100%; }
      .logo-marquee-section { margin-top: 18px; padding: 14px 0; }
      .logo-marquee-group { gap: 12px; padding: 0 12px; }
      .logo-chip, .logo-chip--wide, .logo-chip--wordmark { min-width: 150px; height: 72px; padding: 14px 18px; }
      .logo-chip img { max-height: 34px; }
      .project-table thead { display: none; }
      .project-table, .project-table tbody, .project-table tr, .project-table td { display: block; width: 100%; }
      .project-table tr { margin-bottom: 14px; background: #ffffff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
      .project-table td { padding: 12px 16px; font-size: 15px; border-bottom: 1px solid var(--line); position: relative; padding-left: 130px; min-height: 48px; color: var(--text-secondary); }
      .project-table td:last-child { border-bottom: none; }
      .project-table td::before { position: absolute; left: 16px; top: 12px; font-size: 12px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
      .project-table td:nth-child(1) { padding-left: 16px; padding-right: 16px; background: var(--surface-soft); color: var(--text); border-bottom: 1px solid var(--line); }
      .project-table td:nth-child(1) strong { display: block; font-size: 16px; color: var(--text); }
      .project-table td:nth-child(1)::before { display: none; }
      .project-table td:nth-child(2)::before { content: '핵심 내용'; }
      .project-table td:nth-child(3)::before { content: '대상 기관'; }
    }

/* --- products.html --- */
:root {
      --cyan: #009fe3;
      --cyan-dark: #008dca;
      --maroon: #8e1527;
      --text: #141414;
      --text-secondary: #313131;
      --muted: #6d6d6d;
      --surface: #ffffff;
      --surface-soft: #f7f7f7;
      --line: rgba(20, 20, 20, 0.08);
      --container: 1240px;
      --pill: 9999px;
      --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
}

    /* Nav */

    .page-header h1 { margin: 16px 0 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; }
    .page-header p { margin: 20px 0 0; font-size: clamp(34px, 4vw, 50px); color: rgba(255,255,255,0.92); max-width: 1040px; line-height: 1.22; font-weight: 700; word-break: keep-all; overflow-wrap: break-word; }

    .section-head h2 { margin: 16px 0; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }
    .section-head p { margin: 0; color: var(--text-secondary); font-size: 22px; }

    /* Product Detail */
    .product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 100px; }
    .product-detail:last-child { margin-bottom: 0; }
    .product-detail.reverse { direction: rtl; }
    .product-detail.reverse > * { direction: ltr; }
    .product-image { background: #fff; border: 1px solid var(--line); border-radius: 20px; min-height: 420px; display: flex; align-items: center; justify-content: center; color: var(--cyan); font-size: 72px; font-weight: 800; overflow: hidden; }
    .product-image span { opacity: 0.3; }
    .product-image img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 16px; }
    .product-info h3 { margin: 0 0 8px; font-size: 40px; letter-spacing: -0.03em; font-weight: 700; }
    .product-info .subtitle { margin: 0 0 24px; color: var(--muted); font-size: 20px; }
    .product-info > p { margin: 0 0 24px; color: var(--text-secondary); font-size: 22px; line-height: 1.7; }
    .feature-list { list-style: none; padding: 0; margin: 0 0 32px; }
    .feature-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-secondary); font-size: 19px; line-height: 1.65; }
    .feature-list li::before { content: "✓"; color: var(--cyan); font-weight: 700; flex: 0 0 auto; }

    .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: var(--pill); font-size: 15px; font-weight: 600; transition: 180ms ease; }
    .btn-primary { background: var(--cyan); color: #fff; }
    .btn-primary:hover { background: var(--cyan-dark); }
    .btn-outline { border: 2px solid var(--line); color: var(--text); }
    .btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }



    /* Comparison */
    .comparison { background: #111; color: #fff; }
    .comparison .section-head p { color: rgba(255,255,255,0.8); }
    .compare-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,0.03); border-radius: 16px; overflow: hidden; }
    .compare-table th, .compare-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 17px; line-height: 1.65; }
    .compare-table th { color: rgba(255,255,255,0.6); font-weight: 500; background: rgba(255,255,255,0.02); }
    .compare-table td strong { color: #fff; }
    .compare-table .highlight { color: var(--cyan); font-weight: 600; }
      .compare-table thead { display: none; }
      .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
      .compare-table tr { margin-bottom: 14px; background: rgba(255,255,255,0.04); border-radius: 12px; overflow: hidden; }
      .compare-table td { padding: 12px 16px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.06); position: relative; padding-left: 130px; min-height: 48px; }
      .compare-table td:last-child { border-bottom: none; }
      .compare-table td::before { position: absolute; left: 16px; top: 12px; font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
      .compare-table td:nth-child(1) { padding-left: 16px; padding-right: 16px; background: rgba(255,255,255,0.08); font-size: 16px; }
      .compare-table td:nth-child(1) strong { display: block; }
      .compare-table td:nth-child(2)::before { content: 'CMG Arc Eyer'; }
      .compare-table td:nth-child(3)::before { content: 'Laser Tracking'; }


    @media (max-width: 900px) {
      .nav-links { display: none; }
      .nav-toggle { display: flex; }
      .product-detail, .product-detail.reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }

/* --- industries.html --- */
    .page-header h1 { margin: 16px 0 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.04em; font-weight: 800; }
    .page-header p { margin: 20px 0 0; font-size: 18px; color: rgba(255,255,255,0.76); max-width: 800px; word-break: keep-all; overflow-wrap: break-word; }
    .industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .industry-card { background: var(--maroon); color: #fff; border-radius: 20px; padding: 36px; min-height: 320px; display: flex; flex-direction: column; }
    .industry-card .icon { font-size: 48px; margin-bottom: 24px; }
    .industry-card .number { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; margin-bottom: 8px; }
    .industry-card h3 { margin: 0 0 16px; font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; }
    .industry-card p { margin: 0; color: rgba(255,255,255,0.82); font-size: 15px; line-height: 1.6; flex: 1; }
    .industry-card ul { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; }
    .industry-card ul li { font-size: 14px; color: rgba(255,255,255,0.75); padding: 6px 0; }
    .industry-card ul li::before { content: "→ "; color: var(--cyan); }

    .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: var(--pill); font-size: 15px; font-weight: 600; }
    @media (max-width: 900px) { .nav-links { display: none; } .nav-toggle { display: flex; } .industry-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }

/* --- contact.html --- */
    .page-header h1 { margin: 16px 0 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 800; }
    .page-header p { margin: 20px 0 0; font-size: 22px; color: rgba(255,255,255,0.8); max-width: 900px; word-break: keep-all; overflow-wrap: break-word; }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
    .contact-info h2 { margin: 0 0 24px; font-size: 38px; letter-spacing: -0.03em; }
    .contact-info > p { margin: 0 0 40px; color: var(--text-secondary); font-size: 22px; line-height: 1.7; }
    .contact-methods { display: grid; gap: 24px; }
    .method-card { display: flex; gap: 20px; padding: 24px; background: var(--surface-soft); border-radius: 16px; }
    .method-card .icon { width: 48px; height: 48px; background: var(--cyan); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex: 0 0 auto; }
    .method-card h4 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
    .method-card p { margin: 0; color: var(--text-secondary); font-size: 17px; line-height: 1.6; }
    .method-card a { color: var(--cyan); font-weight: 500; }
    .method-card a:hover { text-decoration: underline; }
    .contact-form-wrapper { background: #111; color: #fff; border-radius: 20px; padding: 40px; }
    .contact-form-wrapper h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
    .contact-form-wrapper > p { margin: 0 0 32px; color: rgba(255,255,255,0.6); font-size: 14px; }
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8); }
    .form-group input, .form-group textarea { width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; color: #fff; font-size: 15px; font-family: inherit; }
    .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--cyan); }
    .form-group textarea { min-height: 120px; resize: vertical; }
    .form-submit { width: 100%; padding: 16px; background: var(--cyan); color: #fff; border: none; border-radius: var(--pill); font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.2s ease, opacity 0.2s ease; }
    .form-submit:hover { background: var(--cyan-dark); }
    .form-submit:disabled { cursor: wait; opacity: 0.72; }
    .form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 14px; display: none; }
    .form-status.is-success { display: block; background: rgba(31, 167, 93, 0.18); border: 1px solid rgba(31, 167, 93, 0.4); color: #9ef0bf; }
    .form-status.is-error { display: block; background: rgba(218, 53, 69, 0.18); border: 1px solid rgba(218, 53, 69, 0.4); color: #ffb3bb; }
    .location-section { background: var(--surface-soft); }
    .location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
    .location-map { background: linear-gradient(135deg, #e0e0e0, #c8c8c8); border-radius: 16px; min-height: 300px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
    .location-details h3 { margin: 0 0 24px; font-size: 24px; letter-spacing: -0.02em; }
    .location-details p { margin: 0 0 12px; color: var(--text-secondary); font-size: 15px; }
    @media (max-width: 900px) { .nav-links { display: none; } .nav-toggle { display: flex; } .contact-grid, .location-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }

/* --- news.html --- */
    
    /* News Grid */
    .news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
    .news-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: box-shadow 0.3s, transform 0.3s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
    .news-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08); transform: translateY(-4px); }
    .news-date { font-size: 14px; color: var(--cyan); font-weight: 600; margin-bottom: 12px; }
    .news-title { font-size: 20px; font-weight: 700; margin: 0 0 12px; line-height: 1.4; color: var(--text); letter-spacing: -0.02em; }
    .news-excerpt { font-size: 15px; color: var(--text-secondary); margin: 0; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-clamp: 3; }

    @media (max-width: 900px) { .nav-links { display: none; } .nav-toggle { display: flex; } .footer-grid { grid-template-columns: 1fr 1fr; } }

/* --- videos.html --- */
    
    /* Video Styles */
    .video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; border-radius: 24px; box-shadow: var(--shadow-soft); background: #000; margin-bottom: 48px; }
    .video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
    .video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 32px; }
    @media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

/* --- Chatbot Widget Styles --- */
.chatbot-widget-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
}

/* Floating Toggle Button */
.chatbot-toggle-btn {
  height: 54px;
  border-radius: 27px;
  background-color: var(--cyan);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 159, 227, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s, box-shadow 0.2s;
}

.chatbot-toggle-text {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.chatbot-toggle-btn:hover {
  transform: scale(1.08);
  background-color: var(--cyan-dark);
  box-shadow: 0 6px 20px rgba(0, 159, 227, 0.4);
}

.chatbot-toggle-btn:active {
  transform: scale(0.95);
}

.chatbot-toggle-btn svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s;
}

/* Chatbot Window */
.chatbot-window {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  height: 600px;
  max-height: calc(100vh - 120px);
  max-width: calc(100vw - 48px);
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  visibility: hidden;
}

.chatbot-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

/* Header */
.chatbot-header {
  padding: 16px 20px;
  background-color: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-title-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2ec4b6; /* glowing green */
  display: inline-block;
  box-shadow: 0 0 8px #2ec4b6;
}

.chatbot-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.chatbot-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}

.chatbot-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.chatbot-close-btn svg {
  width: 18px;
  height: 18px;
}

/* Body / Iframe */
.chatbot-body {
  flex: 1;
  position: relative;
  background-color: #f7f7f7;
}

.chatbot-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  .chatbot-widget-container {
    right: 16px;
    bottom: 16px;
  }
  .chatbot-window {
    bottom: 68px;
    width: calc(100vw - 32px);
    height: calc(100vh - 100px);
    max-height: 540px;
  }
  .chatbot-toggle-btn {
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
  }
  .chatbot-toggle-text {
    display: none;
  }
}


