/* ========================================
   歴史トーク — Landing Page Styles
   Dark navy + washi texture aesthetic
   ======================================== */

:root {
    --bg-primary: #f5f0eb;
    --bg-secondary: #ebe5dd;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f4ef;
    --text-primary: #2e2010;
    --text-secondary: #5c4a32;
    --text-muted: #8a7a64;
    --accent: #a0845c;
    --accent-light: #7a6240;
    --accent-glow: rgba(160, 132, 92, 0.2);
    --gradient: linear-gradient(135deg, #a0845c, #7a6240, #b8864a);
    --border: #ddd5ca;
    --border-light: #ccc3b5;
    --radius: 12px;
    --radius-sm: 8px;
    --font-sans: 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

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

html {
    scroll-behavior: smooth;
}

/* PC/SP display toggle */
.sp-only { display: none; }
.pc-only { display: inline; }

@media (max-width: 768px) {
    .sp-only { display: inline; }
    .pc-only { display: none; }
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Washi paper texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}

/* ========================================
   背景模様 — 霞（ブワァっと流れる金の雲）
   ======================================== */
.bg-kasumi {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-kasumi .kasumi-cloud {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: kasumi-drift ease-in-out infinite;
}

@keyframes kasumi-drift {
    0%   { transform: translateX(-40vw) scale(1); opacity: 0; }
    10%  { opacity: 0.9; }
    50%  { transform: translateX(30vw) scale(1.5); opacity: 1; }
    90%  { opacity: 0.9; }
    100% { transform: translateX(110vw) scale(1); opacity: 0; }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: rgba(245, 240, 235, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo:hover {
    text-decoration: none;
    opacity: 0.8;
}

.logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s !important;
}

/* Hamburger (hidden on desktop) */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 110;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 160px 24px 80px;
    overflow: hidden;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: scrollFade 2.5s ease-in-out infinite;
}

.scroll-text {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-light);
    font-weight: 500;
}

.scroll-arrow {
    color: var(--accent-light);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes scrollFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(107, 90, 62, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 90, 62, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(107, 90, 62, 0.06);
    top: -200px;
    right: -100px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 115, 85, 0.04);
    bottom: -100px;
    left: -100px;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent-light);
    letter-spacing: 0.05em;
    margin-bottom: 28px;
    background: rgba(160, 132, 92, 0.08);
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline:hover {
    border-color: var(--accent-light);
    background: #fff;
}

/* Hero Figures */
.hero-figures {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 56px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.hero-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}

.hero-figure:hover {
    transform: translateY(-6px);
}

.hero-figure img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hero-figure:hover img {
    border-color: var(--accent);
    box-shadow: 0 0 24px var(--accent-glow);
}

.hero-figure span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}


/* ---- Sections ---- */
.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 56px;
}

/* About Hero Image */
.about-hero-image {
    margin-bottom: 56px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.about-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    padding: 12px 16px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

/* Experience Gallery */
.experience-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 56px;
}

.experience-image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.experience-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.experience-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .experience-gallery {
        grid-template-columns: 1fr;
    }

    .experience-image img {
        height: 220px;
    }
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    color: var(--accent-light);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

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

/* Hybrid Feature Card — accent highlight */
.feature-card-hybrid {
    border-color: var(--accent);
    background: rgba(160, 132, 92, 0.04);
    position: relative;
}

.feature-card-hybrid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: var(--radius) var(--radius) 0 0;
}

.feature-card-hybrid:hover {
    background: rgba(160, 132, 92, 0.08);
    box-shadow: 0 12px 40px var(--accent-glow);
}

/* Carousel Dots */
.carousel-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .carousel-dots {
        display: flex;
    }
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.carousel-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* Demo */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.demo-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.demo-video-wrapper {
    aspect-ratio: 16 / 9;
    background: var(--bg-primary);
    position: relative;
}

.demo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.demo-placeholder-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

.demo-placeholder p {
    font-size: 14px;
}

.demo-placeholder-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-family: var(--font-mono);
}

.demo-info {
    padding: 20px 24px;
}

.demo-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

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

/* Architecture */
.arch-diagram {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 32px;
    margin-bottom: 40px;
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.arch-node {
    text-align: center;
    padding: 24px 28px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 160px;
}

.arch-node-core {
    border-color: var(--accent-light);
    box-shadow: 0 0 30px var(--accent-glow);
    background: rgba(160, 132, 92, 0.06);
}

.arch-node-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.arch-node-label {
    font-size: 15px;
    font-weight: 700;
}

.arch-node-detail {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 4px;
}

.arch-arrow {
    font-size: 24px;
    color: var(--accent);
    font-weight: 300;
}

.arch-bottom {
    text-align: center;
    margin-top: 24px;
}

.arch-arrow-down {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 16px;
}

.arch-outputs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.arch-output {
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.arch-output-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-light);
    background: rgba(160, 132, 92, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
}

/* Tech Stack Tags */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-tag {
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    transition: all 0.2s;
}

.tech-tag:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

/* Figures */
.figures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.figure-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.figure-portrait {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--border);
    transition: border-color 0.3s;
}

.figure-card:hover .figure-portrait {
    border-color: var(--accent);
}

.figure-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.figure-card:hover .figure-portrait img {
    filter: grayscale(0%);
}

.figure-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.figure-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.figure-card:hover::before {
    opacity: 1;
}

.figure-era {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent-light);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.figure-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.figure-card p {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.figure-card-add {
    border-style: dashed;
    border-color: var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.figure-card-add h3 {
    white-space: nowrap;
    font-size: 15px;
}

.figure-add-icon {
    font-size: 32px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Contact */
.contact-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-value a {
    color: var(--accent-light);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: var(--text-primary);
}

.contact-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-required {
    color: #c0392b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

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

.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    cursor: pointer;
    border: none;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* ---- Hero Entrance Animation ---- */
.hero-anim {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeIn 0.8s ease-out forwards;
}

.hero-anim-1 { animation-delay: 0.1s; }
.hero-anim-2 { animation-delay: 0.3s; }
.hero-anim-3 { animation-delay: 0.55s; }
.hero-anim-4 { animation-delay: 0.75s; }
.hero-anim-5 { animation-delay: 0.95s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subLineSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---- Scroll Fade-in Animation ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: rgba(245, 240, 235, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 32px 40px;
        gap: 0;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
        transition: right 0.35s ease;
        z-index: 105;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links a.nav-cta {
        margin-top: 16px;
        text-align: center;
        border-bottom: none;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 104;
    }

    .nav-overlay.show {
        display: block;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-sub {
        text-align: left;
        font-size: 15px;
    }

    .hero-sub.hero-anim {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .sub-line {
        display: inline-block;
        opacity: 0;
        transform: translateX(-20px);
        animation: subLineSlide 0.6s ease-out forwards;
    }

    .sub-line-1 { animation-delay: 0.6s; }
    .sub-line-2 { animation-delay: 0.8s; }
    .sub-line-3 { animation-delay: 1.0s; }
    .sub-line-4 { animation-delay: 1.2s; }

    .hero-figures {
        margin-top: 36px;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .hero-figure img {
        width: 56px;
        height: 56px;
    }

    .hero-figure span {
        font-size: 9px;
    }

    .hero-figure {
        gap: 5px;
    }

    .scroll-indicator {
        bottom: 12px;
    }

    .section {
        padding: 80px 0;
    }

    .section h2 {
        font-size: 28px;
    }

    .section-desc {
        text-align: left;
        font-size: 15px;
    }

    .arch-flow {
        flex-direction: column;
    }

    .arch-arrow {
        transform: rotate(90deg);
    }

    /* Feature cards: horizontal scroll carousel */
    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 0 24px 16px;
        margin: 0 -24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        flex: 0 0 75vw;
        scroll-snap-align: center;
        min-width: 0;
    }

    .contact-box {
        flex-direction: column;
        gap: 24px;
    }

    .contact-divider {
        width: 48px;
        height: 1px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
    }

    .figures-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Demo cards: horizontal scroll carousel */
    .demo-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 0 24px 16px;
        margin: 0 -24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .demo-grid::-webkit-scrollbar {
        display: none;
    }

    .demo-card {
        flex: 0 0 80vw;
        scroll-snap-align: center;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .figures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .figure-portrait {
        width: 68px;
        height: 68px;
    }

    .figure-card-add h3 {
        font-size: 13px;
    }

    .figure-add-icon {
        font-size: 24px;
        margin-bottom: 4px;
    }
}

/* ---- Experience Journey ---- */
.journey-steps {
    max-width: 700px;
    position: relative;
}

.journey-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.journey-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.journey-content {
    padding-bottom: 8px;
}

.journey-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

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

.journey-connector {
    width: 2px;
    height: 32px;
    background: var(--border);
    margin-left: 23px;
}

/* ---- Implementation Flow ---- */
.flow-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 32px;
}

.flow-item {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    position: relative;
}

.flow-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--accent-light);
    font-weight: 700;
}

.flow-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.flow-phase {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 12px;
    font-family: var(--font-mono);
}

.flow-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.flow-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.flow-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 24px;
    background: rgba(160, 132, 92, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.flow-note-icon {
    font-size: 18px;
    color: var(--accent);
    min-width: 20px;
}

@media (max-width: 768px) {
    .flow-timeline {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding: 0 24px 16px;
        margin: 0 -24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .flow-timeline::-webkit-scrollbar {
        display: none;
    }

    .flow-item {
        flex: 0 0 70vw;
        scroll-snap-align: center;
        min-width: 0;
        padding: 24px 20px;
    }

    .flow-item:not(:last-child)::after {
        right: -10px;
        font-size: 16px;
    }
}

/* ---- FAQ ---- */
.faq-list {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.faq-q-mark {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ---- Company ---- */
.company-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 800px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.company-info {
    flex: 1;
}

.company-photo {
    width: 180px;
    min-width: 180px;
    text-align: center;
}

.company-photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.company-photo-name {
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    color: var(--text-primary);
}

.company-photo-title {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .company-box {
        flex-direction: column;
        align-items: center;
    }

    .company-photo {
        order: -1;
    }
}

.company-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-row {
    display: flex;
    gap: 24px;
    align-items: baseline;
}

.company-label {
    min-width: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.company-value {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.7;
}

.company-value a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.company-value a:hover {
    color: var(--text-primary);
}

/* ========================================
   Theme Variations
   ======================================== */

