/**
 * ClawBuilder.jp - White Business + Blue Accent + Red Crayfish
 */

/* ============================================================
   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-blue: #2563eb;
    --accent-blue-dark: #1d4ed8;
    --accent-blue-light: #eff6ff;
    --accent-red: #dc2626;
    --accent-red-light: #fef2f2;
    --accent-green: #16a34a;
    --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);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'LINE Seed JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --container: 1140px;
    --header-h: 64px;
}

/* ============================================================
   Reset & Base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

a { color: var(--accent-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-blue-dark); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

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

/* ============================================================
   Scroll Progress
   ============================================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-blue);
    z-index: 9999;
    transition: width 0.1s;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 20px;
}

.logo-text {
    font-family: 'Sora', var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-icon-img { width: 32px; height: 32px; object-fit: contain; position: relative; top: -2px; }

.header-cta-btn {
    flex-shrink: 0;
}

/* Sub Navigation */
.header-subnav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 16px;
}

.header-subnav a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s;
}
.header-subnav a:hover { color: var(--accent-blue); }

/* Dot Menu (3点メニュー) */
.dot-menu {
    position: relative;
}

.dot-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.dot-menu-btn:hover { background: var(--bg-surface); }
.dot-menu-btn .lucide-icon { width: 20px; height: 20px; }

.dot-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 2000;
    padding: 6px 0;
}

.dot-menu.is-open .dot-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dot-menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: background 0.15s;
}
.dot-menu-dropdown a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
.dot-menu-dropdown a .lucide-icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.dot-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
}
.mobile-menu-btn .lucide-icon { width: 24px; height: 24px; }

/* ============================================================
   Mobile Menu
   ============================================================ */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 24px;
}
.mobile-menu.is-open { right: 0; }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 4px;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-menu-nav a {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.mobile-menu-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    padding: 14px 32px;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--text-white);
}
.btn-primary:hover {
    background: var(--accent-blue-dark);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}
.btn-outline:hover {
    background: var(--accent-blue);
    color: var(--text-white);
}

.btn-lg { padding: 18px 40px; font-size: 17px; border-radius: var(--radius-lg); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn .lucide-icon { width: 20px; height: 20px; }

/* ============================================================
   Section Base
   ============================================================ */

.section {
    padding: 80px 0;
}
.section-alt {
    background: var(--bg-secondary);
}
.section-dark {
    background: var(--bg-dark);
    color: var(--text-white);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 12px;
}
.section-dark .section-label { color: #60a5fa; }

.section-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}
.section-dark .section-subtitle { color: var(--text-muted); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
    padding: calc(var(--header-h) + 60px) 0 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
}

.hero-content {
    padding-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-red-light);
    color: var(--accent-red);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero-title .accent { color: var(--accent-blue); }
.hero-title .accent-red { color: var(--accent-red); }

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero Mascot */
.hero-mascot {
    max-width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    vertical-align: bottom;
}

.hero-visual {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Terminal Window (About section) */
.terminal-window {
    background: #1e1e2e;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #181825;
}
.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.terminal-dot.red { background: #f38ba8; }
.terminal-dot.yellow { background: #f9e2af; }
.terminal-dot.green { background: #a6e3a1; }
.terminal-bar-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #6c7086;
    font-family: var(--font-mono);
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
    color: #cdd6f4;
    min-height: 200px;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ============================================================
   Problem
   ============================================================ */

.section-steps {
    position: relative;
    overflow: hidden;
}

.section-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
    background-image: url(../images/crayfish-construction.png);
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    opacity: 0.12;
    filter: blur(1px);
    z-index: 0;
    pointer-events: none;
}

.section-steps > .container {
    position: relative;
    z-index: 1;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--accent-red-light);
    color: var(--accent-red);
    margin-bottom: 16px;
}
.problem-icon .lucide-icon { width: 28px; height: 28px; }

.problem-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

#deployment .problem-icon {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
}

#deployment .problem-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ============================================================
   What is OpenClaw
   ============================================================ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.about-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    flex-shrink: 0;
}
.about-feature-icon .lucide-icon { width: 18px; height: 18px; }

.about-feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}
.about-feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============================================================
   Steps
   ============================================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: var(--text-white);
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================================
   Plans (Pricing)
   ============================================================ */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.plan-card {
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.plan-card.recommended {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px var(--accent-blue);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-red);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent-blue);
    margin-bottom: 4px;
}
.plan-price .currency { font-size: 18px; font-weight: 700; }
.plan-price .unit { font-size: 14px; font-weight: 500; color: var(--text-muted); }

.plan-tax {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.plan-features {
    margin-bottom: 24px;
}

.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}
.plan-feature .lucide-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-cta { width: 100%; }

/* Maintenance Plans */
.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.maintenance-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.maintenance-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.maintenance-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-blue);
    margin-bottom: 16px;
}
.maintenance-price .unit { font-size: 14px; font-weight: 500; color: var(--text-muted); }

.maintenance-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Options */
.options-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: collapse;
}
.options-table th,
.options-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.options-table th { font-weight: 700; color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.options-table td:last-child { font-weight: 700; color: var(--accent-blue); text-align: right; }

/* ============================================================
   Use Cases
   ============================================================ */

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.usecase-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.usecase-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.usecase-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    flex-shrink: 0;
}
.usecase-icon .lucide-icon { width: 20px; height: 20px; }
.usecase-icon-brand {
    background: transparent;
    padding: 0;
}
.usecase-icon-brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.usecase-icon-accounting {
    background: #e6f7f0;
    color: #25b000;
}
.usecase-icon-report {
    background: #fff0e6;
    color: #ea580c;
}

.usecase-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 0;
}

.usecase-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.usecase-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tool-tag {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================================
   Why Us
   ============================================================ */

.whyus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.whyus-card {
    display: flex;
    gap: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.whyus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(96,165,250,0.15);
    color: #60a5fa;
    flex-shrink: 0;
}
.whyus-icon .lucide-icon { width: 24px; height: 24px; }

.whyus-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-white);
}

.whyus-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    gap: 12px;
    transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-secondary); }

.faq-question .lucide-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item.is-open .faq-question .lucide-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-answer {
    max-height: 400px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-more {
    text-align: center;
    margin-top: 24px;
}

/* ============================================================
   CTA Section
   ============================================================ */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
    color: var(--text-white);
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background: var(--text-white);
    color: var(--accent-blue);
    font-weight: 700;
}
.btn-white:hover {
    background: var(--bg-secondary);
    color: var(--accent-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   Fixed CTA
   ============================================================ */

.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 12px 0;
    z-index: 900;
    transform: translateY(100%);
    transition: transform 0.3s;
}
.fixed-cta.is-visible { transform: translateY(0); }

.fixed-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fixed-cta-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    background: var(--bg-dark);
    color: var(--text-muted);
    padding: 36px 0 80px;
}

.footer-top {
    display: flex;
    gap: 48px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'Sora', var(--font-sans);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.footer-logo:hover { color: var(--accent-blue); }

.footer-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-brand-desc {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--text-muted);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    flex: 1;
}

.footer-col-title {
    color: var(--text-white);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.footer-col-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-col-links a {
    color: var(--text-muted);
    font-size: 12px;
    transition: color 0.2s;
}
.footer-col-links a:hover { color: var(--text-white); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: var(--text-muted);
    font-size: 12px;
    transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--text-white); }

.footer-copyright {
    font-size: 12px;
}

/* ============================================================
   Contact Form
   ============================================================ */

.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.btn-submit { width: 100%; }

.form-success-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-success-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-required {
    color: var(--accent-red);
    font-size: 12px;
    margin-left: 4px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
    background: var(--bg-primary);
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-textarea { resize: vertical; min-height: 160px; }

.form-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-sans);
    background: var(--bg-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    color: var(--accent-green);
    font-weight: 700;
}

.form-error {
    background: var(--accent-red-light);
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    padding: 20px;
    color: var(--accent-red);
    margin-bottom: 20px;
}

/* ============================================================
   Legal Pages
   ============================================================ */

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: calc(var(--header-h) + 40px) 24px 80px;
}

.legal-content h1 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
}

.legal-content .legal-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.legal-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border);
    font-size: 14px;
}
.legal-table th {
    background: var(--bg-secondary);
    font-weight: 700;
    width: 30%;
}

/* ============================================================
   404
   ============================================================ */

.not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: calc(var(--header-h) + 40px) 24px 80px;
}

.not-found h1 {
    font-size: 120px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
}

.not-found p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 16px 0 32px;
}

/* ============================================================
   FAQ Full Page
   ============================================================ */

.faq-page {
    padding: calc(var(--header-h) + 40px) 0 80px;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-blue);
    display: inline-block;
}

/* ============================================================
   Article Pages
   ============================================================ */

.article-page {
    max-width: 780px;
    margin: 0 auto;
    padding: calc(var(--header-h) + 40px) 24px 80px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    margin-bottom: 32px;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--accent-blue); }

.breadcrumb .breadcrumb-sep {
    color: var(--text-muted);
    margin: 0 4px;
}

.breadcrumb .breadcrumb-current {
    color: var(--text-secondary);
}

/* Article Header */
.article-header {
    margin-bottom: 40px;
}

.article-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.article-category-tag.cat-technical {
    background: #f0fdf4;
    color: #16a34a;
}

.article-category-tag.cat-comparison {
    background: #fffbeb;
    color: #d97706;
}

.article-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-meta .lucide-icon {
    width: 14px;
    height: 14px;
}

.article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Table of Contents */
.article-toc {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 40px;
}

.article-toc-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.article-toc ol {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
}

.article-toc > ol > li {
    counter-increment: toc;
    margin-bottom: 6px;
}

.article-toc > ol > li > a::before {
    content: counter(toc) ". ";
    font-weight: 700;
    color: var(--accent-blue);
}

.article-toc a {
    color: var(--text-secondary);
    font-size: 14px;
    display: block;
    padding: 3px 0;
    transition: color 0.2s;
}
.article-toc a:hover { color: var(--accent-blue); }

/* Article Content */
.article-content h2 {
    font-size: 24px;
    font-weight: 900;
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-blue);
}

.article-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid var(--accent-blue);
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Callout */
.article-callout {
    background: var(--accent-blue-light);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.article-callout p {
    color: var(--text-primary);
    margin-bottom: 0;
    font-size: 14px;
}

.article-callout p:first-child {
    font-weight: 700;
    margin-bottom: 8px;
}

.article-callout.warning {
    background: var(--accent-red-light);
}

.article-callout.warning p:first-child {
    color: var(--accent-red);
}

.article-callout.tip {
    background: #f0fdf4;
}

.article-callout.tip p:first-child {
    color: #16a34a;
}

/* Comparison Table */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.article-content th,
.article-content td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border);
    font-size: 14px;
}

.article-content th {
    background: var(--bg-secondary);
    font-weight: 700;
}

/* FAQ in Article */
.article-faq {
    margin-top: 48px;
    margin-bottom: 48px;
}

.article-faq-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-blue);
}

/* Related Articles */
.article-related {
    margin-top: 48px;
    margin-bottom: 48px;
}

.article-related-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 24px;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.article-related-card {
    display: block;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    color: var(--text-primary);
}
.article-related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.article-related-card .related-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 6px;
}

.article-related-card .related-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}

.article-related-card .related-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    color: var(--text-white);
    margin-top: 48px;
}

.article-cta h2 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text-white);
    border: none;
    padding: 0;
}

.article-cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    font-size: 15px;
}

/* ============================================================
   Articles List Page
   ============================================================ */

.articles-page {
    padding: calc(var(--header-h) + 40px) 0 80px;
}

.articles-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.articles-page-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}

.articles-page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Category Filter */
.articles-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.2s;
}
.filter-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}
.filter-btn.is-active {
    background: var(--accent-blue);
    color: var(--text-white);
    border-color: var(--accent-blue);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

.article-card {
    display: block;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    color: var(--text-primary);
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.article-card .card-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.article-card .card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
}

.article-card .card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
}

/* ============================================================
   Fixed Pages (Pricing/Security/Cases detail)
   ============================================================ */

.detail-page {
    max-width: 900px;
    margin: 0 auto;
    padding: calc(var(--header-h) + 40px) 24px 80px;
}

.detail-page-header {
    text-align: center;
    margin-bottom: 48px;
}

.detail-page-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}

.detail-page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Case Study Cards */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.case-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.case-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.case-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    flex-shrink: 0;
    margin-bottom: 16px;
}

.case-card-icon .lucide-icon { width: 18px; height: 18px; }

.case-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

.case-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.case-card .case-result {
    background: var(--accent-blue-light);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-blue);
}

/* Comparison Table for Pricing */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 16px;
    text-align: center;
    border: 1px solid var(--border);
    font-size: 14px;
}

.comparison-table th {
    background: var(--bg-secondary);
    font-weight: 700;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table .plan-highlight {
    background: var(--accent-blue-light);
}

/* Security Feature List */
.security-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.security-feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.security-feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-feature-card h3 .lucide-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-blue);
}

.security-feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================================
   Deployment Detail List
   ============================================================ */

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .deployment-grid { grid-template-columns: 1fr; }
}

.deployment-card {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    text-align: left;
    transition: box-shadow 0.2s, transform 0.2s;
}
.deployment-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.deployment-card-recommended {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1px var(--accent-blue), var(--shadow-md);
}
.deployment-card-ribbon {
    position: absolute;
    top: -1px;
    right: 24px;
    background: var(--accent-blue);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px 6px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    letter-spacing: 0.02em;
}
.deployment-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.deployment-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    flex-shrink: 0;
}
.deployment-card-icon .lucide-icon {
    width: 18px;
    height: 18px;
}
.deployment-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}
.deployment-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.deployment-card-badge {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    background: var(--bg-surface);
    color: var(--text-secondary);
}
.deployment-card-recommended .deployment-card-badge {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
}

.deployment-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.deployment-detail-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-top: 1px solid var(--border-light);
}
.deployment-detail-list li:first-child {
    border-top: none;
}
.deployment-detail-list li .lucide-icon {
    width: 11px;
    height: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ============================================================
   Case Study Card (Top Page)
   ============================================================ */

.case-study-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.case-study-badge {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-blue);
}

.case-study-plan {
    font-size: 13px;
    color: var(--text-muted);
}

.case-study-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-study-block h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.case-study-block h3 .lucide-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
}

.case-study-block p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric {
    background: var(--accent-blue-light);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-blue);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.case-study-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.case-study-footer .btn .lucide-icon {
    width: 16px;
    height: 16px;
}

/* ============================================================
   Cost Included (section-dark variant)
   ============================================================ */

.cost-included-grid .whyus-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

.cost-included-grid .whyus-card h3 {
    color: var(--text-primary);
}

.cost-included-grid .whyus-card p {
    color: var(--text-secondary);
}

.cost-included-grid .whyus-icon {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
}

.cost-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 24px;
}

/* ============================================================
   Scope Grid (できること / やらないこと)
   ============================================================ */

.scope-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.scope-column {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.scope-column h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
}

.scope-column h3 .lucide-icon {
    width: 22px;
    height: 22px;
}

.scope-can h3 {
    color: var(--accent-green);
}

.scope-cannot h3 {
    color: var(--accent-red);
}

.scope-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scope-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.scope-list li .lucide-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.scope-can .scope-list li .lucide-icon {
    color: var(--accent-green);
}

.scope-cannot .scope-list li .lucide-icon {
    color: var(--accent-red);
}

.scope-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-title { font-size: 32px; }
    .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; margin-bottom: 48px; }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .usecases-grid { grid-template-columns: repeat(2, 1fr); }
    .whyus-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .header-subnav { display: none; }
    .dot-menu-btn { display: flex; }
}

@media (max-width: 768px) {

    .section { padding: 56px 0; }
    .section-title { font-size: 26px; }
    .section-header { margin-bottom: 36px; }

    .hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 56px; }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 16px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }

    .problem-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .usecases-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .maintenance-grid { grid-template-columns: 1fr; }

    .footer-top { flex-direction: column; gap: 24px; }
    .footer-nav { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

    .fixed-cta-text { display: none; }
    .fixed-cta-inner { justify-content: center; }

    .article-title { font-size: 24px; }
    .article-content h2 { font-size: 20px; }
    .article-content h3 { font-size: 16px; }
    .article-related-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .article-cta { padding: 32px 24px; }
    .article-cta h2 { font-size: 20px; }

    .case-grid { grid-template-columns: 1fr; }
    .security-features { grid-template-columns: 1fr; }
    .detail-page-title { font-size: 26px; }
    .articles-page-title { font-size: 26px; }

    .scope-grid { grid-template-columns: 1fr; }
    .case-study-metrics { grid-template-columns: 1fr; }
    .case-study-body { padding: 20px; }
    .case-study-header { padding: 16px 20px; }
    .case-study-footer { padding: 16px 20px; }
}
