/**
 * ヒューマノイドジョブ - Stylesheet
 * Design: MacClaw-inspired, White base + Teal accent
 * Font: M PLUS 2 + Inter
 */

/* ============================================================
   1. CSS Variables
   ============================================================ */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-surface: #f1f5f9;
    --bg-dark: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --accent: #0d9488;
    --accent-dark: #0f766e;
    --accent-light: #f0fdfa;
    --accent-green: #16a34a;
    --accent-green-light: #f0fdf4;
    --accent-orange: #ea580c;
    --accent-orange-light: #fff7ed;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'M PLUS 2', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Inter', 'M PLUS 2', sans-serif;
    --container: 1140px;
    --header-h: 64px;
    --transition: 0.2s ease;
}

[data-theme="dark"] {
    --bg-primary: #141418;
    --bg-secondary: #1c1c22;
    --bg-surface: #25252d;
    --bg-dark: #0a0a0e;
    --text-primary: #e8e8ed;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border: #2a2a35;
    --border-light: #1e1e28;
    --accent-light: #042f2e;
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============================================================
   3. Header
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .site-header {
    background: rgba(20,20,24,0.92);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; gap: 24px;
}
.header-logo {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 17px; color: var(--text-primary);
    text-decoration: none; white-space: nowrap;
}
.logo-icon { width: 26px; height: 26px; color: var(--accent); }
.logo-text { font-family: var(--font-display); }

.header-nav { display: flex; gap: 24px; }
.nav-link {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    transition: color var(--transition);
}
.nav-link:hover { color: var(--text-primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--bg-primary);
    cursor: pointer; color: var(--text-muted); transition: all var(--transition);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle .lucide-icon { width: 16px; height: 16px; }
.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: block; }

/* ============================================================
   4. Buttons
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-sans); font-weight: 600; font-size: 14px;
    border: none; border-radius: var(--radius-sm); cursor: pointer;
    padding: 10px 20px; transition: all var(--transition);
    text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--accent); color: var(--text-white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--text-white); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-outline {
    background: transparent; border: 1px solid var(--border); color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-surface); color: var(--text-primary); }
.btn .lucide-icon { width: 18px; height: 18px; }

/* ============================================================
   5. Breadcrumb
   ============================================================ */
.breadcrumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 13px; color: var(--text-muted); margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { font-size: 11px; }

/* ============================================================
   6. Hero Section
   ============================================================ */
.hero-section {
    padding-top: calc(var(--header-h) + 64px);
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--accent-light) 100%);
}
.hero-content { max-width: 700px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent-light); color: var(--accent);
    border: 1px solid rgba(13,148,136,0.2);
    font-size: 13px; font-weight: 700; padding: 6px 14px;
    border-radius: 100px; margin-bottom: 20px;
}
.hero-title {
    font-size: 40px; font-weight: 700; line-height: 1.3;
    color: var(--text-primary); margin-bottom: 18px;
    font-family: var(--font-display);
}
.hero-desc {
    font-size: 17px; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 32px;
}
.hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px;
}
.hero-stats {
    display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat-num {
    display: block; font-size: 28px; font-weight: 700;
    color: var(--accent); font-family: var(--font-display); line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   7. Section Basics
   ============================================================ */
.section-title {
    font-size: 26px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 10px; font-family: var(--font-display);
}
.section-desc {
    font-size: 15px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7;
}
.section-cta { text-align: center; margin-top: 36px; }

/* ============================================================
   8. Features Section
   ============================================================ */
.features-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature-card-icon {
    width: 48px; height: 48px;
    background: var(--accent-light); color: var(--accent);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.feature-card-icon .lucide-icon { width: 24px; height: 24px; }
.feature-card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   9. Categories Section
   ============================================================ */
.categories-section { padding: 80px 0; }
.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.category-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.category-card-icon {
    width: 52px; height: 52px;
    background: var(--accent-light); color: var(--accent);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.category-card-icon .lucide-icon { width: 26px; height: 26px; }
.category-card-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.category-card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; }
.category-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 600; color: var(--accent);
}
.category-card-link .lucide-icon { width: 14px; height: 14px; }
.category-card-link:hover { color: var(--accent-dark); }

/* ============================================================
   10. Flow Section
   ============================================================ */
.flow-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: flow-step;
}
.flow-step {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}
.flow-step-num {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: var(--accent); color: var(--text-white);
    border-radius: 50%;
    font-size: 16px; font-weight: 700; font-family: var(--font-display);
    margin-bottom: 14px;
}
.flow-step-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.flow-step-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   11. Articles Section
   ============================================================ */
.articles-section { padding: 80px 0; }
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.article-card {
    display: block;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none; color: var(--text-primary);
    transition: transform var(--transition), box-shadow var(--transition);
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--text-primary); }
.article-card-badge {
    font-size: 11px; font-weight: 600; color: var(--accent);
    background: var(--accent-light); padding: 3px 10px;
    border-radius: var(--radius-sm); display: inline-block; margin-bottom: 10px;
}
.article-card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.5; }
.article-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   12. CTA Section
   ============================================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.cta-content { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-title {
    font-size: 28px; font-weight: 700; color: var(--text-white);
    margin-bottom: 14px; font-family: var(--font-display);
}
.cta-desc {
    font-size: 15px; color: rgba(255,255,255,0.85);
    margin-bottom: 32px; line-height: 1.7;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-outline {
    border-color: rgba(255,255,255,0.5); color: var(--text-white);
}
.cta-section .btn-outline:hover {
    background: rgba(255,255,255,0.1); border-color: var(--text-white);
}

/* ============================================================
   13. Jobs Section (Homepage)
   ============================================================ */
.jobs-section { padding: 80px 0; background: var(--bg-secondary); }
.jobs-empty {
    text-align: center; padding: 60px 20px;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.jobs-empty-icon {
    width: 64px; height: 64px; color: var(--text-muted);
    margin: 0 auto 16px;
}
.jobs-empty-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.jobs-empty-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }

/* Sample job cards */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px; margin-bottom: 32px;
}
.job-card {
    display: block;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px 22px;
    text-decoration: none; color: var(--text-primary);
    transition: transform var(--transition), box-shadow var(--transition);
}
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--text-primary); }
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.job-card-category {
    font-size: 11px; font-weight: 600; color: var(--accent);
    background: var(--accent-light); padding: 3px 10px;
    border-radius: var(--radius-sm);
}
.job-card-badge-new {
    font-size: 11px; font-weight: 600; color: var(--accent-green);
    background: var(--accent-green-light); padding: 3px 8px;
    border-radius: var(--radius-sm);
}
.job-card-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; line-height: 1.4; }
.job-card-company { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.job-card-meta {
    display: flex; gap: 14px; flex-wrap: wrap;
    font-size: 12px; color: var(--text-muted);
}
.job-card-meta-item { display: flex; align-items: center; gap: 4px; }
.job-card-meta-item .lucide-icon { width: 13px; height: 13px; }
.job-card-salary { font-size: 14px; font-weight: 700; color: var(--accent); margin-top: 10px; }

/* ============================================================
   14. Job Category Grid
   ============================================================ */
.job-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}
.job-cat-card {
    display: flex; flex-direction: column; align-items: center;
    gap: 10px; padding: 20px 12px;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-md); text-decoration: none; color: var(--text-primary);
    font-size: 13px; font-weight: 600; text-align: center;
    transition: all var(--transition);
}
.job-cat-card:hover {
    border-color: var(--accent); color: var(--accent);
    background: var(--accent-light);
}
.job-cat-card .lucide-icon { width: 24px; height: 24px; color: var(--accent); }
.job-cat-card:hover .lucide-icon { color: var(--accent-dark); }

/* ============================================================
   15. Products / Robots Grid
   ============================================================ */
.products-section { padding: 80px 0; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
.product-card {
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-md); overflow: hidden;
    text-decoration: none; color: var(--text-primary); display: block;
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--text-primary); }
.product-card-image {
    aspect-ratio: 4/3; background: var(--bg-surface);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-card-image .lucide-icon { width: 48px; height: 48px; color: var(--text-muted); }
.product-card-body { padding: 16px; }
.product-card-badge {
    font-size: 11px; font-weight: 600; color: var(--accent);
    background: var(--accent-light); padding: 2px 8px;
    border-radius: var(--radius-sm); display: inline-block; margin-bottom: 6px;
}
.product-card-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.product-card-tagline { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.4; }
.product-card-price { font-size: 13px; font-weight: 600; color: var(--accent); }

/* ============================================================
   16. Detail Page
   ============================================================ */
.detail-section {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 80px;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px; align-items: start;
}
.detail-gallery { margin-bottom: 24px; }
.gallery-main-wrap {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; background: var(--bg-surface);
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
}
.gallery-placeholder { display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.gallery-placeholder-icon { width: 64px; height: 64px; }

.sidebar-card {
    position: sticky; top: calc(var(--header-h) + 24px);
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    box-shadow: var(--shadow-md);
}
.sidebar-card-sp { display: none; }

.detail-title { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.detail-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.detail-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.detail-price { font-size: 26px; font-weight: 700; color: var(--accent); font-family: var(--font-display); }
.detail-price-sub { font-size: 13px; color: var(--text-muted); }
.rental-plans { margin-top: 20px; }
.rental-plans-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.rental-plans-title .lucide-icon { width: 15px; height: 15px; }
.rental-plan-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; }
.rental-plan-row:last-child { border-bottom: none; }
.rental-plan-period { font-weight: 600; color: var(--text-primary); }
.rental-plan-price { font-weight: 700; color: var(--accent); font-family: var(--font-display); }

.detail-card { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.detail-card-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.detail-card-title .lucide-icon { width: 18px; height: 18px; color: var(--accent); }

.spec-table { width: 100%; }
.spec-row { display: flex; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.spec-row:last-child { border-bottom: none; }
.spec-row dt { flex: 0 0 130px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.spec-row dd { flex: 1; font-size: 14px; font-weight: 500; }

.detail-description { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }

.use-cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.use-case-card { padding: 20px; border-radius: var(--radius-md); background: var(--bg-secondary); border: 1px solid var(--border-light); }
.use-case-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.use-case-icon .lucide-icon { width: 20px; height: 20px; }
.use-case-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.use-case-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-item { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text-secondary); }
.feature-item .lucide-icon { width: 16px; height: 16px; color: var(--accent-green); flex-shrink: 0; margin-top: 3px; }

.spec-badges-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.spec-badge-lg { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; background: var(--bg-surface); color: var(--text-secondary); border: 1px solid var(--border-light); }
.badge-category { background: var(--accent-light); color: var(--accent); border-color: transparent; }

/* ============================================================
   17. Job Listing / Search
   ============================================================ */
.jobs-page { padding-top: calc(var(--header-h) + 32px); padding-bottom: 80px; }
.jobs-page-header { margin-bottom: 32px; }
.jobs-page-title { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.search-bar {
    display: flex; gap: 10px; margin-bottom: 24px;
}
.search-input {
    flex: 1; font-family: var(--font-sans); font-size: 15px;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 12px 16px; transition: border-color var(--transition);
}
.search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.jobs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px; align-items: start;
}
.jobs-sidebar {
    position: sticky; top: calc(var(--header-h) + 24px);
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
}
.filter-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.filter-section { margin-bottom: 24px; }
.filter-section-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.filter-item { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; cursor: pointer; }
.filter-item input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; }
.jobs-count { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* ============================================================
   18. Contact
   ============================================================ */
.contact-section {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 80px;
}
.contact-hero { text-align: center; margin-bottom: 48px; }
.contact-hero-title { font-size: 28px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.contact-hero-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px; align-items: start;
}
.contact-form { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.form-required { font-size: 11px; color: var(--text-white); background: var(--accent); padding: 2px 6px; border-radius: 3px; margin-left: 6px; font-weight: 600; }
.form-optional { font-size: 11px; color: var(--text-muted); background: var(--bg-surface); padding: 2px 6px; border-radius: 3px; margin-left: 6px; }
.form-control {
    display: block; width: 100%;
    font-family: var(--font-sans); font-size: 15px;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 12px 16px; transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; line-height: 1.6; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-check-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
.form-check-input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.form-submit-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; }
.contact-sidebar-info { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-info-card { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px; }
.contact-info-title { font-size: 14px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.contact-info-title .lucide-icon { width: 16px; height: 16px; color: var(--accent); }
.contact-info-list { display: flex; flex-direction: column; gap: 10px; }
.contact-info-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); }
.contact-info-item .lucide-icon { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.contact-info-text-bold { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.contact-info-text-sub { font-size: 12px; color: var(--text-muted); }
.contact-info-text-body { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }

/* ============================================================
   19. FAQ
   ============================================================ */
.faq-page { padding-top: calc(var(--header-h) + 32px); padding-bottom: 80px; }
.faq-page-header { text-align: center; margin-bottom: 48px; }
.faq-page-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.faq-page-desc { font-size: 15px; color: var(--text-secondary); }
.faq-group { margin-bottom: 40px; }
.faq-group-title {
    font-size: 18px; font-weight: 700; margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 12px; border-bottom: 2px solid var(--accent);
}
.faq-group-title .lucide-icon { width: 20px; height: 20px; color: var(--accent); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; }
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 16px 20px;
    background: var(--bg-primary); border: none;
    cursor: pointer; text-align: left;
    font-family: var(--font-sans); font-size: 15px; font-weight: 600;
    color: var(--text-primary); transition: background var(--transition);
    gap: 12px;
}
.faq-question:hover { background: var(--bg-secondary); }
.faq-question.open { background: var(--accent-light); color: var(--accent); }
.faq-q-icon { flex-shrink: 0; width: 24px; height: 24px; background: var(--accent-light); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.faq-q-text { flex: 1; }
.faq-toggle-icon { flex-shrink: 0; width: 18px; height: 18px; color: var(--text-muted); transition: transform var(--transition); }
.faq-question.open .faq-toggle-icon { transform: rotate(180deg); }
.faq-answer { display: none; padding: 16px 20px 20px; font-size: 14px; line-height: 1.8; color: var(--text-secondary); background: var(--bg-secondary); border-top: 1px solid var(--border); }
.faq-answer.open { display: block; }

/* ============================================================
   20. About / Static Pages
   ============================================================ */
.static-page { padding-top: calc(var(--header-h) + 32px); padding-bottom: 80px; }
.static-page-header { margin-bottom: 48px; }
.static-page-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.static-page-desc { font-size: 15px; color: var(--text-secondary); }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.about-pillar { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.about-pillar-icon { width: 56px; height: 56px; background: var(--accent-light); color: var(--accent); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.about-pillar-icon .lucide-icon { width: 28px; height: 28px; }
.about-pillar-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.about-pillar-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.company-info { background: var(--bg-secondary); border-radius: var(--radius-lg); padding: 32px; }
.company-info-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.company-info-title .lucide-icon { width: 20px; height: 20px; color: var(--accent); }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:last-child { border-bottom: none; }
.company-table th { width: 160px; padding: 14px 0; font-size: 13px; font-weight: 600; color: var(--text-muted); text-align: left; vertical-align: top; }
.company-table td { padding: 14px 0; font-size: 14px; color: var(--text-secondary); }

/* Legal pages */
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 18px; font-weight: 700; margin: 32px 0 12px; padding-left: 12px; border-left: 3px solid var(--accent); }
.legal-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.legal-content ul { margin: 10px 0 14px 20px; list-style: disc; }
.legal-content ul li { font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; }

/* ============================================================
   21. Footer
   ============================================================ */
.site-footer { background: var(--bg-dark); color: var(--text-muted); padding: 60px 0 32px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--text-white); margin-bottom: 12px; }
.footer-logo .logo-icon { color: var(--accent); }
.footer-desc { font-size: 13px; line-height: 1.7; color: #94a3b8; }
.footer-links h4 { font-size: 13px; font-weight: 700; color: var(--text-white); margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; transition: color var(--transition); }
.footer-links a:hover { color: var(--text-white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid #1e293b; font-size: 12px; color: #64748b; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #64748b; }
.footer-legal a:hover { color: #94a3b8; }

/* ============================================================
   22. Hamburger & Mobile Nav
   ============================================================ */
.hamburger {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--bg-primary);
    cursor: pointer; color: var(--text-secondary); transition: all var(--transition);
}
.hamburger:hover { color: var(--accent); border-color: var(--accent); }
.hamburger .lucide-icon { width: 18px; height: 18px; }
.hamburger-close { display: none; }
.hamburger.open .hamburger-open { display: none; }
.hamburger.open .hamburger-close { display: block; }

.mobile-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
    bottom: 0; z-index: 99; background: var(--bg-primary);
    padding: 20px; overflow-y: auto;
    border-top: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
    display: block; padding: 14px 16px; font-size: 15px; font-weight: 500;
    color: var(--text-primary); text-decoration: none;
    border-radius: var(--radius-sm); transition: background var(--transition);
}
.mobile-nav-link:hover { background: var(--bg-surface); color: var(--text-primary); }
.mobile-nav-cta {
    background: var(--accent); color: var(--text-white);
    font-weight: 600; text-align: center; border-radius: var(--radius-md);
    margin-top: 8px;
}
.mobile-nav-cta:hover { background: var(--accent-dark); color: var(--text-white); }

/* ============================================================
   23. Utility / Accessibility
   ============================================================ */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-sm   { font-size: 13px; }
.text-mono { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; }
.required  { color: #e11d48; font-size: 13px; margin-left: 2px; }

/* ============================================================
   24. Extended Buttons
   ============================================================ */
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: var(--radius-sm); }

.btn-danger {
    background: #e11d48; color: var(--text-white); border: none;
}
.btn-danger:hover { background: #be123c; color: var(--text-white); }

.btn-danger-outline {
    background: transparent; border: 1px solid #e11d48; color: #e11d48;
}
.btn-danger-outline:hover { background: #fff1f2; color: #be123c; border-color: #be123c; }

.btn-fav-remove {
    background: transparent; border: 1px solid var(--border);
    color: var(--text-muted); padding: 6px 12px; font-size: 13px;
}
.btn-fav-remove:hover { border-color: #e11d48; color: #e11d48; background: #fff1f2; }

/* ============================================================
   25. Extended Badges
   ============================================================ */
.badge-closed {
    background: var(--bg-surface); color: var(--text-muted);
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 100px;
    font-size: 11px; font-weight: 600;
}
[data-theme="dark"] .badge-closed { background: rgba(148,163,184,0.1); color: var(--text-muted); }

.plan-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 100px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
    background: var(--accent-light); color: var(--accent);
}
[data-theme="dark"] .plan-badge { background: rgba(13,148,136,0.15); color: #5eead4; }

/* ============================================================
   26. Alert Warning
   ============================================================ */
.alert-warning {
    background: #fffbeb;
    color: #92400e;
    display: flex; align-items: flex-start; gap: 10px;
    padding: 14px 18px; border-radius: var(--radius-md);
    font-size: 14px; line-height: 1.6;
}
.alert-warning .lucide-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
[data-theme="dark"] .alert-warning { background: rgba(217,119,6,0.12); color: #fbbf24; }

/* ============================================================
   27. Flash / Toast
   ============================================================ */
.flash-icon {
    display: flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; flex-shrink: 0;
}

/* ============================================================
   28. Page Hero (list / static pages)
   ============================================================ */
.page-hero {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 48px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--accent-light) 100%);
}
.page-hero-title {
    font-size: 30px; font-weight: 700; font-family: var(--font-display);
    color: var(--text-primary); margin-bottom: 12px; line-height: 1.3;
}
.page-hero-desc {
    font-size: 16px; color: var(--text-secondary); line-height: 1.7; max-width: 600px;
}
.page-hero-update { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* ============================================================
   29. List Page Header & Results
   ============================================================ */
.list-page-header {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 28px;
}
.list-page-title {
    font-size: 26px; font-weight: 700; font-family: var(--font-display);
    color: var(--text-primary); margin-bottom: 8px;
}
.list-page-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

.list-section { padding-bottom: 80px; }

.list-result-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; gap: 12px; flex-wrap: wrap;
}
.list-result-count { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   30. Job Search Form
   ============================================================ */
.job-search-wrap { margin-bottom: 28px; }
.job-search-form {
    display: flex; gap: 0; background: var(--bg-primary);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.job-search-input-wrap {
    flex: 1; position: relative; display: flex; align-items: center;
}
.job-search-icon {
    position: absolute; left: 14px; width: 18px; height: 18px;
    color: var(--text-muted); pointer-events: none;
}
.job-search-input {
    flex: 1; width: 100%;
    font-family: var(--font-sans); font-size: 15px;
    color: var(--text-primary); background: transparent;
    border: none; outline: none;
    padding: 13px 16px 13px 42px;
}
.job-search-input::placeholder { color: var(--text-muted); }
.job-search-btn {
    padding: 0 22px; background: var(--accent); color: var(--text-white);
    border: none; font-family: var(--font-sans); font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background var(--transition); white-space: nowrap;
    display: flex; align-items: center; gap: 8px;
}
.job-search-btn:hover { background: var(--accent-dark); }
.job-search-btn .lucide-icon { width: 16px; height: 16px; }

/* ============================================================
   31. Filter Bar & Service / Category Filters
   ============================================================ */
.filter-bar {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}

/* Filter group wrapper */
.filter-group {
    margin-bottom: 20px;
}
.filter-group-label {
    font-size: 12px; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 10px;
}

/* Filter container: category-filter / service-filter are flex wrappers */
.category-filter,
.service-filter {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
}

/* Individual tab items */
.category-tab,
.service-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border: 1px solid var(--border);
    border-radius: 100px; background: var(--bg-primary);
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
    cursor: pointer; transition: all var(--transition); text-decoration: none;
    white-space: nowrap;
}
.category-tab:hover,
.service-tab:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.category-tab.active,
.service-tab.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); font-weight: 600; }
.category-tab .lucide-icon { width: 14px; height: 14px; }

.category-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--bg-surface); color: var(--text-muted);
    border-radius: 100px; font-size: 11px; font-weight: 600;
}
.category-tab.active .category-count { background: rgba(13,148,136,0.15); color: var(--accent); }

/* ============================================================
   32. Job Card Extensions
   ============================================================ */
.job-card-link {
    display: block; text-decoration: none; color: inherit;
    transition: transform var(--transition), box-shadow var(--transition);
}
.job-card-link:hover { color: inherit; }

.job-card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.job-card-location {
    display: flex; align-items: center; gap: 4px;
    font-size: 12px; color: var(--text-muted);
}
.job-card-location .lucide-icon { width: 13px; height: 13px; }
.job-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light);
    gap: 8px; flex-wrap: wrap;
}
.job-card-date { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   33. Product Card Extensions
   ============================================================ */
.products-grid-lg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.product-card-lg {
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    text-decoration: none; color: var(--text-primary); display: block;
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card-lg:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--text-primary); }

.product-card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.product-card-brand { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.product-card-name-ja { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.product-card-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.product-card-price-value {
    font-size: 17px; font-weight: 700; color: var(--accent);
    font-family: var(--font-display);
}
.product-card-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    margin-top: 12px;
}
.product-card-cta .lucide-icon { width: 14px; height: 14px; }
.product-card-cta:hover { color: var(--accent-dark); }

/* ============================================================
   34. Detail Page Extensions
   ============================================================ */
.detail-main { min-width: 0; }

.gallery-main-img {
    width: 100%; height: 100%; object-fit: contain; padding: 20px;
}
.gallery-thumbs-wrap { margin-top: 12px; }
.gallery-thumbs {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.gallery-thumbs img {
    width: 72px; height: 72px; object-fit: contain;
    border: 2px solid var(--border); border-radius: var(--radius-sm);
    cursor: pointer; transition: border-color var(--transition); padding: 4px;
    background: var(--bg-surface);
}
.gallery-thumbs img:hover,
.gallery-thumbs img.active { border-color: var(--accent); }

.detail-card-cta {
    background: var(--accent-light); border-radius: var(--radius-md);
    padding: 20px; margin-top: 20px; text-align: center;
}
.detail-card-cta-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.detail-card-cta-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; }

.sidebar-meta { margin-bottom: 16px; }
.sidebar-buy-btn { width: 100%; margin-bottom: 10px; }

.sidebar-service-title {
    font-size: 13px; font-weight: 700; color: var(--text-secondary);
    margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.sidebar-service-title .lucide-icon { width: 14px; height: 14px; }
.sidebar-service-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-service-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}
.sidebar-service-row:last-child { border-bottom: none; }
.sidebar-service-label { color: var(--text-muted); }
.sidebar-service-price { font-weight: 700; color: var(--accent); font-family: var(--font-display); }

/* ============================================================
   35. Related Section
   ============================================================ */
.related-section { padding: 48px 0 80px; background: var(--bg-secondary); }
.related-title {
    font-size: 20px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 20px; font-family: var(--font-display);
}

/* ============================================================
   36. Article CTA
   ============================================================ */
.article-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius-lg); padding: 32px; text-align: center;
    margin: 40px 0;
}
.article-cta-title { font-size: 20px; font-weight: 700; color: var(--text-white); margin-bottom: 10px; }
.article-cta-desc { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 20px; line-height: 1.7; }

/* ============================================================
   37. List CTA Banner
   ============================================================ */
.list-cta-banner {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-primary) 100%);
    border: 1px solid rgba(13,148,136,0.2); border-radius: var(--radius-lg);
    padding: 32px; display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap; margin-bottom: 32px;
}
.list-cta-text { flex: 1; }
.list-cta-title { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.list-cta-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.list-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   38. List Empty State
   ============================================================ */
.list-empty {
    text-align: center; padding: 80px 20px;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); margin-bottom: 32px;
}
.list-empty-icon {
    width: 64px; height: 64px; color: var(--text-muted); margin: 0 auto 16px;
}
.list-empty-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.list-empty-text { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.list-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   39. Empty State (full-width variant)
   ============================================================ */
.empty-state-full {
    text-align: center; padding: 80px 20px;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); width: 100%;
}

/* ============================================================
   40. Pagination
   ============================================================ */
.pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; margin-top: 36px; flex-wrap: wrap;
}
.page-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--bg-primary); color: var(--text-secondary);
    font-size: 14px; font-weight: 500; text-decoration: none;
    transition: all var(--transition); cursor: pointer; font-family: var(--font-sans);
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.page-btn.active { background: var(--accent); color: var(--text-white); border-color: var(--accent); font-weight: 700; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-btn:disabled:hover { border-color: var(--border); color: var(--text-secondary); background: var(--bg-primary); }

/* ============================================================
   41. Pricing / Plans
   ============================================================ */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px; margin-bottom: 32px;
}
.plan-header {
    text-align: center; padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light); margin-bottom: 20px;
}
.plan-name { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 12px 0 6px; }
.plan-price-amount { font-size: 32px; font-weight: 700; color: var(--accent); font-family: var(--font-display); }
.plan-price-period { font-size: 13px; color: var(--text-muted); }
.plan-limit { font-size: 12px; color: var(--text-muted); }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.plan-feature-item {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 14px; color: var(--text-secondary); line-height: 1.5;
}
.plan-check-icon { width: 16px; height: 16px; color: var(--accent-green); flex-shrink: 0; margin-top: 2px; }
.plan-cta { width: 100%; }
.plan-steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.plan-note-card {
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 18px 20px;
}
.plan-note-text { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

.pricing-panel {
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.pricing-tabs {
    display: flex; border-bottom: 1px solid var(--border);
}
.pricing-tab {
    flex: 1; padding: 14px 20px; font-size: 14px; font-weight: 600;
    color: var(--text-secondary); background: transparent; border: none;
    cursor: pointer; transition: all var(--transition); text-align: center;
    font-family: var(--font-sans);
}
.pricing-tab:hover { color: var(--text-primary); background: var(--bg-secondary); }
.pricing-tab.active { color: var(--accent); background: var(--accent-light); }
.pricing-table { width: 100%; }
.pricing-row {
    display: flex; align-items: center;
    padding: 14px 20px; border-bottom: 1px solid var(--border-light);
    font-size: 14px; transition: background var(--transition);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:hover { background: var(--bg-secondary); }
.pricing-row-label { flex: 1; color: var(--text-secondary); font-weight: 500; }
.pricing-row-value { font-weight: 700; color: var(--text-primary); font-family: var(--font-display); }
.pricing-note { font-size: 12px; color: var(--text-muted); padding: 12px 20px; }

/* ============================================================
   42. Current Plan Card (dashboard billing)
   ============================================================ */
.current-plan-card {
    background: var(--accent-light); border: 1px solid rgba(13,148,136,0.2);
    border-radius: var(--radius-lg); padding: 24px;
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; margin-bottom: 24px;
}
[data-theme="dark"] .current-plan-card { background: rgba(13,148,136,0.1); border-color: rgba(13,148,136,0.25); }
.current-plan-info { flex: 1; }
.current-plan-title { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.current-plan-name { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; font-family: var(--font-display); }
.current-plan-renewal { font-size: 13px; color: var(--text-secondary); }

/* ============================================================
   43. Extended Form Elements
   ============================================================ */
.form-section { margin-bottom: 32px; }
.form-section-title {
    font-size: 15px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 8px;
}
.form-section-title .lucide-icon { width: 16px; height: 16px; color: var(--accent); }

.form-actions {
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
    padding-top: 20px; border-top: 1px solid var(--border);
}

.form-label-required {
    font-size: 11px; color: var(--text-white); background: #e11d48;
    padding: 2px 6px; border-radius: 3px; margin-left: 6px; font-weight: 600;
}
.form-label-optional {
    font-size: 11px; color: var(--text-muted); background: var(--bg-surface);
    padding: 2px 6px; border-radius: 3px; margin-left: 6px;
}

.form-select {
    display: block; width: 100%;
    font-family: var(--font-sans); font-size: 15px;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 11px 14px; transition: border-color var(--transition);
    cursor: pointer; -webkit-appearance: none; appearance: none;
}
.form-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.form-select-sm {
    font-size: 13px; padding: 7px 12px; border-radius: var(--radius-sm);
}
.form-select-xs {
    font-size: 12px; padding: 5px 10px; border-radius: var(--radius-sm);
}
.form-input-sm {
    font-size: 13px; padding: 7px 12px; border-radius: var(--radius-sm);
}
.form-textarea {
    display: block; width: 100%;
    font-family: var(--font-sans); font-size: 15px;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 11px 14px; resize: vertical; min-height: 100px; line-height: 1.6;
    transition: border-color var(--transition);
}
.form-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.form-textarea::placeholder { color: var(--text-muted); }

.form-check {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: var(--text-secondary); cursor: pointer; line-height: 1.5;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] { accent-color: var(--accent); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }

.form-privacy-note {
    font-size: 12px; color: var(--text-muted); line-height: 1.7;
    padding: 12px 16px; background: var(--bg-surface);
    border-radius: var(--radius-sm); margin-top: 16px;
}
.form-robot-notice {
    font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 10px;
}

.inline-form {
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.dash-form { display: flex; flex-direction: column; gap: 18px; }

.error-list {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 16px;
}
.error-list li {
    font-size: 13px; color: #be123c;
    display: flex; align-items: center; gap: 6px;
}
.error-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e11d48; flex-shrink: 0; }

/* ============================================================
   44. Tag Input
   ============================================================ */
.tag-input {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 8px 12px;
    cursor: text; transition: border-color var(--transition);
    min-height: 46px;
}
.tag-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.tag-input input {
    flex: 1; min-width: 100px; border: none; outline: none;
    font-family: var(--font-sans); font-size: 14px;
    color: var(--text-primary); background: transparent;
}
.tag-input input::placeholder { color: var(--text-muted); }

/* ============================================================
   45. Fav / Favourite Remove Form
   ============================================================ */
.fav-remove-form { display: inline; }

/* ============================================================
   46. Table Actions
   ============================================================ */
.table-actions {
    display: flex; align-items: center; gap: 8px;
}

/* ============================================================
   47. Contact Page Extensions
   ============================================================ */
.contact-form-wrap {
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px;
}
.contact-grid {
    display: grid; grid-template-columns: 1fr 280px;
    gap: 40px; align-items: start;
}
.contact-info {
    position: sticky; top: calc(var(--header-h) + 24px);
    display: flex; flex-direction: column; gap: 16px;
}
.contact-info-row {
    display: flex; align-items: flex-start; gap: 12px; font-size: 14px;
}
.contact-info-row .lucide-icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-info-text { color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   48. FAQ Page Extensions
   ============================================================ */
.faq-page-hero {
    padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--accent-light) 100%);
    text-align: center;
}
.faq-page-hero-title {
    font-size: 30px; font-weight: 700; font-family: var(--font-display);
    color: var(--text-primary); margin-bottom: 12px;
}
.faq-page-hero-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

.faq-page-section { padding: 48px 0 80px; }

.faq-categories {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; justify-content: center;
}
.faq-cat-btn {
    padding: 8px 18px; border: 1px solid var(--border); border-radius: 100px;
    background: var(--bg-primary); color: var(--text-secondary);
    font-size: 13px; font-weight: 500; cursor: pointer;
    transition: all var(--transition); font-family: var(--font-sans);
}
.faq-cat-btn:hover { border-color: var(--accent); color: var(--accent); }
.faq-cat-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); font-weight: 600; }

.faq-cta-wrap {
    text-align: center; padding: 48px 20px;
    background: var(--bg-secondary); border-radius: var(--radius-lg);
    border: 1px solid var(--border); margin-top: 48px;
}

/* ============================================================
   49. About / Static Page Extensions
   ============================================================ */
.about-section { margin-bottom: 48px; }
.about-section-title {
    font-size: 20px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
    padding-bottom: 12px; border-bottom: 2px solid var(--accent);
    font-family: var(--font-display);
}
.about-section-title .lucide-icon { width: 20px; height: 20px; color: var(--accent); }
.about-section-body { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.about-list {
    display: flex; flex-direction: column; gap: 8px;
    margin-top: 12px;
}
.about-list li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}
.about-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 8px; }

.static-page-section { margin-bottom: 48px; }
.static-page-nav {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px;
}
.static-page-cta {
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px; text-align: center;
    margin-top: 48px;
}

/* ============================================================
   50. Company Info Table
   ============================================================ */
.company-info-table { width: 100%; border-collapse: collapse; }
.company-info-table tr { border-bottom: 1px solid var(--border-light); }
.company-info-table tr:last-child { border-bottom: none; }
.company-info-table th {
    width: 160px; padding: 14px 0; font-size: 13px; font-weight: 600;
    color: var(--text-muted); text-align: left; vertical-align: top;
}
.company-info-table td {
    padding: 14px 0; font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}

/* ============================================================
   51. Legal Page Extensions
   ============================================================ */
.legal-body { max-width: 800px; }
.legal-contact {
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 20px; margin-top: 32px;
    font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}
.legal-info {
    font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px;
}
.legal-table {
    width: 100%; border-collapse: collapse; margin: 16px 0;
    font-size: 14px;
}
.legal-table th {
    text-align: left; padding: 10px 14px;
    background: var(--bg-secondary); font-weight: 600;
    color: var(--text-secondary); border-bottom: 1px solid var(--border);
}
.legal-table td {
    padding: 10px 14px; color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}
.legal-table tr:last-child td { border-bottom: none; }

/* ============================================================
   52. Auth Icon Error State
   ============================================================ */
.auth-icon-error {
    background: #fff1f2; color: #e11d48;
}

/* ============================================================
   53. Features Grid (2-column variant)
   ============================================================ */
.features-grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.feature-card-link {
    display: block; text-decoration: none; color: inherit;
}
.feature-card-link:hover { color: inherit; }

/* ============================================================
   54. KPI Grid 3-column (explicit)
   ============================================================ */
.kpi-grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

/* ============================================================
   55. Footer Brand
   ============================================================ */
.footer-brand {
    display: flex; flex-direction: column; gap: 0;
    color: var(--text-white);
    text-decoration: none;
}
.footer-brand .footer-logo {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 16px; margin-bottom: 12px;
}
.footer-brand .logo-icon { color: var(--accent); }

/* ============================================================
   23. Responsive
   ============================================================ */
.sp-only { display: none; }

@media (max-width: 768px) {
    .sp-only { display: block; }
    .pc-only { display: none; }
    .header-nav { display: none; }
    .header-cta { display: none; }
    .hamburger { display: flex; }
    .hero-title { font-size: 28px; }
    .hero-stats { gap: 20px; }
    .detail-grid { grid-template-columns: 1fr; }
    .sidebar-card { display: none; }
    .sidebar-card-sp { display: block; margin-bottom: 20px; }
    .use-cases-grid { grid-template-columns: 1fr; }
    .features-list { grid-template-columns: 1fr; }
    .about-pillars { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .jobs-layout { grid-template-columns: 1fr; }
    .jobs-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .cta-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   Job Cards — Premium Redesign
   ============================================================ */
.job-list { display: grid; gap: 16px; margin: 24px 0; }
.job-list-featured { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }

/* Section header row (title + CTA side-by-side) */
.section-header-row {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
    margin-bottom: 36px;
}
.section-header-row .section-desc { margin-bottom: 0; }

/* --- Card base --- */
.job-card { position: relative; overflow: hidden; }
.job-card--elevated {
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 0;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s cubic-bezier(.4,0,.2,1), border-color 0.25s;
    display: flex; flex-direction: column;
}
.job-card--elevated:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(13,148,136,0.12), 0 4px 12px -4px rgba(0,0,0,0.06);
    border-color: rgba(13,148,136,0.3);
}

/* Card inner layout */
.job-card--elevated .job-card-top-row {
    display: flex; align-items: center; gap: 6px;
    padding: 16px 20px 0;
}
.job-card--elevated .job-card-body {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 12px 20px 0;
}
.job-card--elevated .job-card-body-text { flex: 1; min-width: 0; }
.job-card--elevated .job-card-badges {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 10px 20px 0;
}
.job-card--elevated .job-card-footer-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    padding: 14px 20px 16px;
    margin-top: auto;
    border-top: 1px solid var(--border-light);
}

/* --- Company avatar & logo --- */
.job-card-avatar {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; font-family: var(--font-display);
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 100%);
    border-radius: var(--radius-md);
    letter-spacing: -0.02em;
}
.job-card-logo {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    object-fit: contain;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
}
.job-card--listing .job-card-logo {
    width: 52px; height: 52px;
}

/* --- Featured badge --- */
.job-card-featured {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 700; color: var(--accent-orange);
    background: var(--accent-orange-light); padding: 3px 10px; border-radius: 100px;
}
.job-card-featured .lucide-icon { width: 11px; height: 11px; }

/* --- Tag badges --- */
.job-card-badge-cat {
    font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px;
    background: var(--accent-light); color: var(--accent);
    display: inline-flex; align-items: center; gap: 4px;
}
.job-card-badge-cat .lucide-icon { width: 12px; height: 12px; }
.job-card-badge-type {
    font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 100px;
    background: var(--bg-surface); color: var(--text-secondary);
}
.job-card-badge-remote {
    font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px;
    background: var(--accent-green-light); color: var(--accent-green);
    display: inline-flex; align-items: center; gap: 3px;
}
.job-card-badge-remote .lucide-icon { width: 11px; height: 11px; }

/* --- Title & company --- */
.job-card--elevated .job-card-company {
    font-size: 12px; color: var(--text-muted); font-weight: 500;
    display: block; margin-bottom: 2px;
}
.job-card--elevated .job-card-title {
    font-size: 15px; font-weight: 700; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* --- Salary tag --- */
.job-card-salary-tag {
    display: inline-flex; align-items: center;
    font-size: 13px; font-weight: 700; color: var(--accent);
    font-family: var(--font-display);
    background: var(--accent-light);
    padding: 4px 12px; border-radius: 8px;
    max-width: 100%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.job-card--elevated .job-card-salary-tag {
    white-space: normal; word-break: break-word;
    line-height: 1.4;
}

/* --- Desc --- */
.job-card-desc {
    font-size: 13px; color: var(--text-secondary); line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.job-card-remote {
    font-size: 11px; color: var(--accent-green); font-weight: 600;
    margin-left: 4px;
}
.feature-card-count {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: var(--accent); background: var(--accent-light);
    padding: 3px 10px; border-radius: 100px; margin-top: 8px;
}

/* ============================================================
   Job List — Listing variant (horizontal card)
   ============================================================ */
.job-list--listing { gap: 12px; }
.job-card--listing {
    display: flex; align-items: stretch; gap: 0;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    text-decoration: none; color: var(--text-primary);
    transition: transform 0.22s cubic-bezier(.4,0,.2,1), box-shadow 0.22s, border-color 0.22s;
}
.job-card--listing:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(13,148,136,0.10), 0 2px 8px -2px rgba(0,0,0,0.05);
    border-color: rgba(13,148,136,0.25);
    color: var(--text-primary);
}
.job-card--listing .job-card-left {
    display: flex; align-items: center; justify-content: center;
    padding: 20px 0 20px 20px;
}
.job-card--listing .job-card-avatar {
    width: 52px; height: 52px; font-size: 20px;
}
.job-card--listing .job-card-content {
    flex: 1; min-width: 0; padding: 16px 20px;
    display: flex; flex-direction: column; justify-content: center;
}
.job-card--listing .job-card-top-row {
    display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.job-card--listing .job-card-company {
    font-size: 12px; color: var(--text-muted); font-weight: 500;
}
.job-card--listing .job-card-title {
    font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 4px;
}
.job-card--listing .job-card-desc {
    margin-bottom: 8px;
}
.job-card--listing .job-card-footer-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.job-card--listing .job-card-meta {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 12px; color: var(--text-muted);
}

/* ============================================================
   Filter panel
   ============================================================ */
.job-filter-panel {
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px 24px;
    margin-bottom: 24px;
}
.job-filter-panel .filter-group { margin-bottom: 14px; }
.job-filter-panel .filter-group:last-child { margin-bottom: 0; }
.job-filter-panel .filter-group-label {
    display: inline-flex; align-items: center; gap: 5px;
}
.job-filter-panel .filter-group-label .lucide-icon {
    width: 13px; height: 13px; color: var(--accent);
}

/* Search result bar */
.search-result-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light);
}
.search-result-summary {
    font-size: 14px; color: var(--text-secondary);
}
.search-result-summary strong { color: var(--accent); font-weight: 700; font-family: var(--font-display); }

/* ============================================================
   Category Guide (SEO content section)
   ============================================================ */
.cat-guide {
    margin-top: 48px; padding: 32px 36px;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.cat-guide-title {
    font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px;
    margin-bottom: 28px; padding-bottom: 16px;
    border-bottom: 2px solid var(--accent);
    color: var(--text-primary);
}
.cat-guide-title .lucide-icon { width: 24px; height: 24px; color: var(--accent); }
.cat-guide-section { margin-bottom: 24px; }
.cat-guide-section:last-child { margin-bottom: 0; }
.cat-guide-subtitle {
    font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px;
    margin-bottom: 10px; color: var(--text-primary);
}
.cat-guide-subtitle .lucide-icon { width: 18px; height: 18px; color: var(--accent); }
.cat-guide-text {
    font-size: 14px; line-height: 1.85; color: var(--text-secondary);
}
.cat-guide-skills {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px;
}
.cat-guide-skills li {
    font-size: 14px; line-height: 1.7; color: var(--text-secondary);
    padding-left: 20px; position: relative;
}
.cat-guide-skills li::before {
    content: '';
    position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
}
.cat-guide-aliases-intro { margin-bottom: 12px; }
.cat-guide-aliases {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.cat-guide-alias {
    display: inline-block; font-size: 13px; line-height: 1;
    color: var(--text-secondary); background: var(--bg-secondary);
    border: 1px solid var(--border); border-radius: 100px;
    padding: 6px 14px; white-space: nowrap;
}
@media (max-width: 768px) {
    .cat-guide { padding: 24px 20px; }
    .cat-guide-title { font-size: 18px; }
    .cat-guide-skills { grid-template-columns: 1fr; }
}

/* Related articles in job list */
.list-related-articles {
    margin-top: 48px; padding: 28px;
    background: var(--bg-secondary); border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.list-related-title {
    font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px;
    margin-bottom: 16px;
}
.list-related-title .lucide-icon { width: 18px; height: 18px; color: var(--accent); }
.list-related-links { display: flex; flex-wrap: wrap; gap: 8px; }
.list-related-links a {
    font-size: 13px; padding: 7px 16px; border-radius: 100px;
    background: var(--bg-primary); border: 1px solid var(--border);
    color: var(--text-secondary); text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.list-related-links a:hover {
    background: var(--accent-light); border-color: var(--accent); color: var(--accent);
}

/* ============================================================
   Job Detail Page — Premium Redesign (jd- prefix)
   ============================================================ */
.jd { max-width: 800px; margin: 0 auto; }

/* Hero header */
.jd-hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--accent-light) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}
.jd-hero::before {
    content: '';
    position: absolute; top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.jd-hero-inner {
    display: flex; align-items: flex-start; gap: 20px;
    position: relative; z-index: 1;
}
.jd-hero-avatar {
    flex-shrink: 0;
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 700; font-family: var(--font-display);
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 14px rgba(13,148,136,0.25);
}
.jd-hero-logo {
    flex-shrink: 0;
    width: 64px; height: 64px;
    border-radius: var(--radius-lg);
    object-fit: contain;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.jd-hero-text { flex: 1; min-width: 0; }
.jd-hero-badges {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
}
.jd-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600; padding: 4px 12px;
    border-radius: 100px;
}
.jd-badge .lucide-icon { width: 12px; height: 12px; }
.jd-badge--featured { background: var(--accent-orange-light); color: var(--accent-orange); font-weight: 700; }
.jd-badge--cat { background: var(--accent-light); color: var(--accent); }
.jd-badge--type { background: var(--bg-surface); color: var(--text-secondary); }
.jd-badge--remote { background: var(--accent-green-light); color: var(--accent-green); }
.jd-hero-company {
    font-size: 14px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px;
}
.jd-hero-title {
    font-size: 24px; font-weight: 700; line-height: 1.35;
    color: var(--text-primary); font-family: var(--font-display);
}
.jd-hero-salary {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 16px; padding: 10px 20px;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-md);
    position: relative; z-index: 1;
}
.jd-hero-salary .lucide-icon { width: 18px; height: 18px; color: var(--accent); }
.jd-hero-salary-text {
    font-size: 18px; font-weight: 700; color: var(--accent);
    font-family: var(--font-display);
}

/* Meta grid */
.jd-meta-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    margin-bottom: 28px;
}
.jd-meta-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
}
.jd-meta-item:nth-child(odd) { border-right: 1px solid var(--border-light); }
.jd-meta-item:nth-last-child(-n+2) { border-bottom: none; }
.jd-meta-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-light); color: var(--accent);
    border-radius: var(--radius-sm);
}
.jd-meta-icon .lucide-icon { width: 18px; height: 18px; }
.jd-meta-label {
    display: block; font-size: 11px; font-weight: 500; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px;
}
.jd-meta-value { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); }

/* CTA */
.jd-cta {
    text-align: center; padding: 28px;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(13,148,136,0.06) 100%);
    border: 1px solid rgba(13,148,136,0.15);
    border-radius: var(--radius-lg); margin-bottom: 32px;
}
.jd-cta--bottom {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border: none;
}
.jd-cta--bottom .btn { color: #fff; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); }
.jd-cta--bottom .btn:hover { background: rgba(255,255,255,0.25); color: #fff; }
.jd-cta-btn { font-size: 15px; }
.jd-cta-note {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; color: var(--text-muted); margin-top: 10px;
}
.jd-cta-note .lucide-icon { width: 13px; height: 13px; }

/* Sections */
.jd-section { margin-bottom: 32px; }
.jd-section-title {
    font-size: 17px; font-weight: 700;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}
.jd-section-icon {
    width: 32px; height: 32px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-light); color: var(--accent);
    border-radius: var(--radius-sm);
}
.jd-section-icon .lucide-icon { width: 16px; height: 16px; }
.jd-section-icon--req { background: #eff6ff; color: #2563eb; }
.jd-section-icon--nice { background: var(--accent-green-light); color: var(--accent-green); }
.jd-section-icon--benefit { background: var(--accent-orange-light); color: var(--accent-orange); }
.jd-section-body {
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 20px 24px;
}
.jd-description {
    font-size: 15px; line-height: 1.85; color: var(--text-primary); white-space: pre-wrap;
}

/* Lists */
.jd-list { list-style: none; padding: 0; margin: 0; }
.jd-list li {
    padding: 10px 0 10px 28px; position: relative;
    font-size: 14px; line-height: 1.65; color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}
.jd-list li:last-child { border-bottom: none; }
.jd-list li::before {
    content: ''; position: absolute; left: 8px; top: 17px;
    width: 8px; height: 8px; border-radius: 50%;
}
.jd-list--req li::before { background: #2563eb; }
.jd-list--nice li::before { background: var(--accent-green); }
.jd-list--benefit li::before { background: var(--accent-orange); }

/* Related article link */
.jd-related-article { margin: 24px 0 32px; }
.jd-article-link {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding: 16px 24px;
    background: var(--accent-light); border: 1px solid rgba(13,148,136,0.15);
    border-radius: var(--radius-md);
    font-size: 14px; font-weight: 600; color: var(--accent);
    text-decoration: none; transition: all 0.2s;
}
.jd-article-link:hover {
    background: var(--accent); color: #fff;
    border-color: var(--accent);
}
.jd-article-link .lucide-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Related jobs section */
.job-related { margin-top: 56px; padding-top: 32px; border-top: 2px solid var(--border); }
.job-related-title {
    font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px;
    margin-bottom: 20px;
}
.job-related-title .lucide-icon { width: 20px; height: 20px; color: var(--accent); }

/* ============================================================
   Auth Modal
   ============================================================ */
.auth-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    padding: 20px;
}
.auth-modal.is-visible {
    opacity: 1; visibility: visible;
}
.auth-modal-content {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%; max-width: 440px;
    max-height: 90vh; overflow-y: auto;
    padding: 36px 32px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.18);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
.auth-modal.is-visible .auth-modal-content {
    transform: scale(1) translateY(0);
}
.auth-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 6px;
}
.auth-modal-header h2 {
    font-size: 22px; font-weight: 700; color: var(--text-primary);
    font-family: var(--font-display);
}
.auth-modal-close {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}
.auth-modal-close:hover { background: var(--bg-surface); color: var(--text-primary); }
.auth-modal-close .lucide-icon { width: 20px; height: 20px; }
.auth-modal-back {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    margin-right: 8px;
}
.auth-modal-back:hover { background: var(--bg-surface); color: var(--text-primary); }
.auth-modal-back .lucide-icon { width: 18px; height: 18px; }
.auth-subtitle {
    font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px;
}
.auth-view[hidden] { display: none; }
.auth-modal-errors {
    margin-bottom: 16px;
}
.auth-modal-errors .alert-error {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 16px; font-size: 13px; line-height: 1.5;
    background: #fff1f2; color: #e11d48;
    border: 1px solid #fecdd3; border-radius: var(--radius-md);
}
[data-theme="dark"] .auth-modal-errors .alert-error {
    background: rgba(225,29,72,0.1); border-color: rgba(225,29,72,0.2); color: #fb7185;
}
.auth-modal-errors ul { list-style: none; padding: 0; margin: 0; }
.auth-modal-errors li { margin-bottom: 2px; }
.auth-modal-success .alert-success {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 16px; font-size: 13px; line-height: 1.5;
    background: #f0fdf4; color: #16a34a;
    border: 1px solid #bbf7d0; border-radius: var(--radius-md);
}
[data-theme="dark"] .auth-modal-success .alert-success {
    background: rgba(22,163,106,0.1); border-color: rgba(22,163,106,0.2); color: #4ade80;
}

/* Modal form elements */
.auth-modal .form-group { margin-bottom: 18px; }
.auth-modal .form-label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--text-primary); margin-bottom: 6px;
}
.auth-modal .form-input {
    display: block; width: 100%;
    font-family: var(--font-sans); font-size: 14px;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 11px 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-modal .form-input:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.auth-modal .form-input::placeholder { color: var(--text-muted); }
.auth-modal .form-select { cursor: pointer; -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.auth-modal .password-wrapper {
    position: relative;
}
.auth-modal .password-toggle {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); padding: 4px;
    transition: color 0.2s;
}
.auth-modal .password-toggle:hover { color: var(--text-primary); }
.auth-modal .password-toggle .lucide-icon { width: 18px; height: 18px; }
.auth-modal .form-required { color: #e11d48; font-size: 11px; background: none; padding: 0; margin-left: 2px; }
.auth-modal .form-check-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-secondary); cursor: pointer;
    margin-bottom: 16px;
}
.auth-modal .form-check-input { accent-color: var(--accent); width: 16px; height: 16px; }

/* Role selection */
.role-selector {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    margin-bottom: 24px;
}
.role-card {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; padding: 24px 16px;
    background: var(--bg-secondary); border: 2px solid var(--border);
    border-radius: var(--radius-lg); cursor: pointer;
    text-align: center; transition: all 0.2s;
}
.role-card:hover {
    border-color: var(--accent); background: var(--accent-light);
}
.role-card .lucide-icon { width: 28px; height: 28px; color: var(--accent); }
.role-card-title { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.role-card-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.auth-role-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 100px;
    background: var(--accent-light); color: var(--accent);
    font-size: 12px; font-weight: 600; margin-bottom: 20px;
}
.auth-role-badge .lucide-icon { width: 14px; height: 14px; }

/* Auth dividers & links */
.auth-divider {
    text-align: center; font-size: 13px; color: var(--text-muted);
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-light);
}
.auth-divider a { color: var(--accent); font-weight: 600; }
.auth-divider a:hover { color: var(--accent-dark); }
.auth-terms-hint {
    text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 12px;
}
.auth-terms-hint a { color: var(--accent); }
.auth-honeypot { position: absolute; left: -9999px; }
body.modal-open { overflow: hidden; }

/* ============================================================
   Responsive — Job Pages
   ============================================================ */
@media (max-width: 768px) {
    .section-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .job-list-featured { grid-template-columns: 1fr; }
    .job-card--listing { flex-direction: column; }
    .job-card--listing .job-card-left {
        padding: 16px 16px 0; justify-content: flex-start;
    }
    .job-card--listing .job-card-content { padding: 12px 16px 16px; }
    .jd-hero { padding: 24px; }
    .jd-hero-inner { flex-direction: column; gap: 14px; }
    .jd-hero-title { font-size: 20px; }
    .jd-meta-grid { grid-template-columns: 1fr; }
    .jd-meta-item:nth-child(odd) { border-right: none; }
    .jd-meta-item { border-bottom: 1px solid var(--border-light); }
    .jd-meta-item:last-child { border-bottom: none; }
    .jd-section-body { padding: 16px; }
    .job-filter-panel { padding: 16px; }
    .search-result-bar { flex-direction: column; align-items: flex-start; }
    .auth-modal-content { padding: 28px 20px; max-width: 100%; }
    .role-selector { grid-template-columns: 1fr; }
}
