:root {
    /* Global Light Theme (Default) */
    --bg-base: #F8FAFC;
    /* Light Slate Background */
    --bg-card: #FFFFFF;
    /* White Cards */

    --primary: #3B82F6;
    /* Tech Blue */
    --accent: #3B82F6;
    /* Accent is now Blue for consistency */
    --accent-secondary: #00D4FF;
    /* Cyan as secondary accent */

    --text-main: #1E293B;
    /* Slate-800 for main text */
    --text-muted: #475569;
    /* Slate-600 for secondary text */

    --border-color: #E2E8F0;
    /* Light Border */
    --glow-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    /* Soft Blue Shadow */

    /* Rhythm */
    --container-width: 1100px;
    --header-height: 80px;

    /* Dark Theme Variables (For Hero/Header reuse) */
    --bg-dark-base: #0B1021;
    --bg-dark-card: #151d38;
    --text-dark-main: #FFFFFF;
    --text-dark-muted: #94A3B8;
    --border-dark: rgba(255, 255, 255, 0.1);
    --accent-cyan: #00D4FF;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-base);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

/* Mobile Break */
.sp-br {
    display: none;
}

@media (max-width: 900px) {
    .sp-br {
        display: block;
    }

    .pc-br {
        display: none;
    }
}

/* Utilities */
.text-accent {
    color: var(--accent);
}

.text-gradient {
    background: linear-gradient(135deg, #FFF 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.bold {
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8em 2.5em;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}



.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.4);
    filter: brightness(1.1);
    /* Subtle highlight */
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    /* Force Dark Theme */
    --bg-base: var(--bg-dark-base);
    --text-main: var(--text-dark-main);
    --text-muted: var(--text-dark-muted);
    --border-color: var(--border-dark);
    --accent: var(--accent-cyan);

    height: var(--header-height);
    background-color: rgba(11, 16, 33, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Header Alignment */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Ensure vertical centering */
    height: 100%;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 32px;
    /* Adjust for header balance */
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    align-items: center;
    /* Ensure vertical centering for nav items */
    gap: 2rem;
    margin: 0;
    /* Reset margin */
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-list a:hover {
    color: var(--accent);
}

.nav-list a.btn {
    color: #FFFFFF;
}

/* Hero Section */
.hero {
    /* Force Dark Theme */
    --bg-base: var(--bg-dark-base);
    --text-main: var(--text-dark-main);
    --text-muted: var(--text-dark-muted);
    --accent: var(--accent-cyan);
    --glow-shadow: 0 0 20px rgba(0, 212, 255, 0.15);

    margin-top: var(--header-height);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    color: var(--text-main);
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 16, 33, 0.7);
    z-index: 1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
}

.hero-tagline {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.4em 1em;
    border-radius: 50px;
    background: rgba(0, 212, 255, 0.05);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Sections Common */
.section {
    padding: 6rem 0;
}

.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.section-light .section-title {
    color: var(--text-main);
    /* Dark Navy title on light bg */
}

.section-light .section-subtitle {
    color: #64748B;
}

.section-light .tech-card,
.section-light .faq-item {
    background: var(--card-light);
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-light .tech-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.section-light .tech-card h3,
.section-light .faq-question {
    color: var(--text-main);
}

.section-light .tech-card p,
.section-light .faq-answer {
    color: #475569;
}

.section-light .card-icon {
    background: #EFF6FF;
    /* Light blue bg for icon */
    border: 1px solid #DBEAFE;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.3;
}

.section-title-en {
    display: block;
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    font-family: 'Inter', sans-serif;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Light theme adjustments */
.section-light .section-title-en {
    color: var(--primary);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.challenges-list {
    list-style: none;
    margin: 1.5rem auto 0;
    padding: 0;
    max-width: fit-content;
    text-align: left;
}

.challenges-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #475569;
    position: relative;
    padding-left: 1.8rem;
    font-weight: 500;
}

.challenges-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.2rem;
}

/* Challenges Section (Redesigned) */
.challenges-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.challenges-visual {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* 16:9 Aspect Ratio */
    aspect-ratio: 16 / 9;
}

.challenges-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.challenges-content {
    flex: 1;
}

.text-left {
    text-align: left;
    margin-bottom: 2rem;
}

.text-dark {
    color: var(--text-main) !important;
}

.challenges-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.challenges-list li {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    color: #334155;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
}

.challenges-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0px;
    color: var(--primary);
    /* Dark checkmark like reference */
    font-weight: 900;
    font-size: 1.1rem;
}

/* Mobile Responsiveness for Challenges */
@media (max-width: 900px) {
    .challenges-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .challenges-visual {
        width: 100%;
        max-height: 500px;
        /* Limit height on mobile so it's not huge */
        aspect-ratio: 16 / 9;
        max-width: 400px;
        /* Constrain width on mobile to avoid super tall images */
        margin: 0 auto;
    }
}

/* Problems / Cards (Legacy for other sections if needed) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.tech-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Feature Rows (Zig-Zag) */
.feature-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 6rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* border removed */
    background: #0f1c30;
    /* 16:9 Aspect Ratio */
    aspect-ratio: 16 / 9;
}

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

.feature-text {
    flex: 1;
    text-align: left;
}

.feature-num {
    display: block;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* Case Studies Carousel */
.carousel-container {
    position: relative;
    padding: 0 4rem;
    /* Space for buttons */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* Carousel Track Dragging Styles */
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    /* Indicate draggable */
}

.carousel-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    /* Disable snap while dragging for smoothness */
    user-select: none;
    /* Prevent text selection */
}

.carousel-track.is-dragging .case-card-wide {
    pointer-events: none;
    /* Prevent clicking visual/links while dragging */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.case-card-wide {
    flex: 0 0 100%;
    /* Default 1 card per view if small, but adjusted below */
    width: 100%;
    min-width: 100%;
    scroll-snap-align: center;

    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Desktop sizing: slightly less than 100% to show peek of next/prev */
.case-card-wide {
    min-width: 90%;
    flex: 0 0 90%;
}



/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #CBD5E1;
    /* Visible Light Gray */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: none;
}

.indicator:hover {
    background: #94A3B8;
    /* Darker Slate */
}

.indicator.active {
    width: 40px;
    border-radius: 10px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--glow-accent);
    border-color: var(--accent);
}

.case-card-wide:hover {
    border-color: var(--accent);
    box-shadow: var(--glow-shadow);
}



.case-visual {
    flex: 1;
    min-height: 300px;
}

.case-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ... existing inner content styles ... */

.case-tags {
    margin-bottom: 1rem;
}

.case-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent);
    font-size: 0.75rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.case-content h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.case-detail {
    margin-bottom: 1.5rem;
}

.case-problem,
.case-solution {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.case-problem strong,
.case-solution strong {
    color: var(--text-main);
    margin-right: 0.5rem;
}

.case-result-box {
    background: #F1F5F9;
    /* Light gray box for light theme */
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.case-result-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.case-result-value {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
}

/* Mobile Responsiveness for Cases Carousel */
@media (max-width: 900px) {
    .carousel-container {
        padding: 0;
        /* Remove button space */
    }

    .carousel-btn {
        display: none;
        /* Hide buttons on mobile, swipe only */
    }

    .carousel-track {
        gap: 1rem;
        padding: 0 1rem 1rem;
        /* Peeking effect padding */
    }

    .case-card-wide {
        flex-direction: column;
        min-width: 85%;
        /* Shows next card slice */
        width: 85%;
        flex: 0 0 85%;
    }

    .case-visual {
        min-height: 200px;
        flex: none;
        height: 200px;
    }

    .case-content {
        padding: 1.5rem;
    }

    .case-content h3 {
        font-size: 1.3rem;
    }
}

/* Mobile Responsiveness for Cases */
@media (max-width: 900px) {

    .case-card-wide,
    .case-card-wide.reverse {
        flex-direction: column;
    }

    .case-visual {
        min-height: 200px;
        flex: none;
        /* Let height be governed by min-height or aspect ratio */
        height: 200px;
    }

    .case-content {
        padding: 2rem 1.5rem;
    }

    .case-content h3 {
        font-size: 1.3rem;
    }
}

.feature-text h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: var(--text-main);
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* Mobile Responsiveness for Features */
@media (max-width: 900px) {

    .feature-row,
    .feature-row.reverse {
        flex-direction: column-reverse;
        /* Image on top */
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .feature-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        aspect-ratio: 16 / 9;
    }

    .feature-text h3 {
        font-size: 1.5rem;
    }
}

/* Service Flow - Dark Theme with Geometric Pattern */
#flow {
    background-color: var(--bg-base);
    position: relative;
    overflow: hidden;
    color: var(--text-main);
}

/* Geometric Triangle Pattern (CSS Fallback) */
/* Geometric Triangle Pattern (CSS Fallback) */
#flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Sophisticated Deep Glow */
    background:
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
    mask-image: none;
    -webkit-mask-image: none;
}

#flow .container {
    position: relative;
    z-index: 1;
}

/* Service Flow & Pricing (Grid Layout) */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* Increased gap to make room for arrows */
    margin-top: 40px;
    position: relative;
}

.flow-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* For connector positioning */
}

/* Visual Connectors (Chevrons) - Desktop */
@media (min-width: 769px) {

    #flow-step-1::after,
    #flow-step-2::after {
        content: '';
        position: absolute;
        right: -22px;
        /* Adjusted centering: -25px -> -22px */
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
        width: 16px;
        height: 16px;
        border-right: 4px solid var(--accent);
        border-bottom: 4px solid var(--accent);
        opacity: 1;
        z-index: 10;
        filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
    }
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.flow-step.featured {
    background: var(--bg-card);
    border: 2px solid var(--accent);
    /* Highlight border */
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.step-header {
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.step-label {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    /* Ensure defined color */
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: 700;
}

.step-header h3 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.step-sub-en {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
    opacity: 0.9;
}

.step-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-main-text {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-main);
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.step-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    /* Slate gray */
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    text-align: left;
}

.step-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
}

/* Step Pricing Box (Inside Step) */
.step-price-box {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
    width: 100%;
    text-align: center;
}

.price-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.price-value.text-accent {
    color: var(--accent);
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-unit {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 2px;
}

.badge-refund {
    display: inline-block;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 50, 50, 0.4);
    color: #ff6b6b;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    vertical-align: middle;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .flow-grid {
        display: flex;
        flex-direction: column;
        gap: 35px;
        /* Increase gap for vertical arrows */
    }

    /* Mobile Connectors (Down Arrows) */
    #flow-step-1::after,
    #flow-step-2::after {
        content: '';
        position: absolute;
        bottom: -22px;
        /* Adjusted for larger size */
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        /* Downward pointing chevron */
        width: 16px;
        height: 16px;
        border-right: 4px solid var(--accent);
        border-bottom: 4px solid var(--accent);
        opacity: 1;
        z-index: 10;
        filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
        /* Glow effect */
    }
}

/* CTA & HubSpot Form */
.section-cta {
    background: linear-gradient(to bottom, var(--bg-base), #E2E8F0);
}

.section-cta .section-header {
    margin-bottom: 1rem;
}

.cta-container {
    width: 95%;
    /* Mobile friendly */
    max-width: 900px;
    /* Adjusted to approx 50% of wide screens */
    margin: 0 auto;
    background: transparent;
    padding: 3rem;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* Consultants */
.consultants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultant-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.consultant-card:hover {
    transform: translateY(-5px);
}

.consultant-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
    border: 3px solid #e2e8f0;
    /* Optional border for definition */
}

.consultant-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* User Icon Placeholder styling using pure CSS */
.consultant-img::after {
    content: '👤';
    font-size: 3rem;
    opacity: 0.5;
    filter: grayscale(1);
}

.consultant-role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.consultant-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.consultant-name span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.2rem;
}

.consultant-bio {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    text-align: left;
    margin-top: 1rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

/* FAQ */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-question {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
/* Legacy Footer Removed */

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: white;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Consultants */
.consultants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultant-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.consultant-card:hover {
    transform: translateY(-5px);
}

.consultant-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    position: relative;
    border: 3px solid #e2e8f0;
}

.consultant-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.consultant-role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.consultant-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.consultant-name span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.2rem;
}

.consultant-bio {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    text-align: left;
    margin-top: 1rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

/* Mobile */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-desc {
        text-align: left;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero {
        padding: 4rem 0 4rem;
        min-height: auto;
    }

    .card-grid,
    .flow-wrapper {
        display: flex;
        flex-direction: column;
    }

    .nav-list {
        display: flex;
        /* Always flex, but hidden off-screen */
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(11, 16, 33, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-list.active {
        right: 0;
    }

    .nav-list li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav-list.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
    }

    .nav-list a {
        font-size: 1.2rem;
        color: white;
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 1001;
        /* Ensure above menu */
        border: none;
        background: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        background: white;
        height: 3px;
        width: 100%;
        display: block;
        position: absolute;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-btn span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-menu-btn span:nth-child(3) {
        bottom: 0;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(-50%) rotate(45deg);
        top: 50%;
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-50%) rotate(-45deg);
        bottom: auto;
        top: 50%;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .cta-container {
        width: 100%;
        padding: 2rem 0.5rem;
    }
}

/* Footer Utility */
.mt-20 {
    margin-top: 20px;
}

/* Enhanced Footer Styles */
.footer {
    padding: 80px 0 40px;
    background-color: var(--bg-dark-base);
    /* Dark Theme Background */
    border-top: 1px solid var(--border-dark);
    color: var(--text-dark-main);
}

.footer-main {
    display: flex;
    justify-content: flex-start;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    flex: 0 0 280px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin: 0 auto 25px;
    display: block;
}

.footer-address {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dark-muted);
    margin-bottom: 20px;
}

.footer-address p.zip {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
}

.footer-sitemap {
    display: flex;
    flex: 0 1 auto;
    justify-content: flex-start;
    gap: 60px;
}

.sitemap-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.sitemap-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-col ul li {
    margin-bottom: 12px;
}

.sitemap-col ul li a {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    transition: color 0.3s ease;
    line-height: 1.5;
    display: block;
}

.sitemap-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

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

.footer-legal a {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent);
}

.footer .copyright {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
    margin: 0;
}

/* Footer Mobile Behavior */
/* Footer Mobile Behavior */
@media (max-width: 900px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-main {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 0;
        justify-content: center;
        align-items: center;
    }

    .footer-brand {
        flex: 0 0 auto;
        text-align: center;
        width: 100%;
        margin-bottom: 0;
    }

    .footer-sitemap,
    .footer-legal,
    .footer-bottom {
        display: none;
    }
}

/* ===== Case Studies Grid Layout ===== */

/* Filter Buttons */
.case-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-muted);
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Grid Layout */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Grid Card (Summary) */
.case-grid-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-grid-card:hover {
    border-color: var(--accent);
    box-shadow: var(--glow-shadow);
    transform: translateY(-4px);
}

.case-grid-card .card-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-grid-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-grid-card .card-image.no-image {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
}

.case-grid-card .card-image.no-image::after {
    content: '';
    width: 48px;
    height: 48px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233B82F6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.5;
}

.case-grid-card .card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-grid-card .card-tags {
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.case-grid-card .card-tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    font-size: 0.7rem;
    border-radius: 12px;
    font-weight: 500;
}

.case-grid-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex: 1;
}

.case-grid-card .card-effect {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

/* Show More Button */
.show-more-container {
    text-align: center;
    margin-top: 1.5rem;
}

.show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: var(--accent);
    color: white;
}

.show-more-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.show-more-btn.expanded svg {
    transform: rotate(180deg);
}

/* Case Modal */
.case-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.case-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.case-modal {
    background: var(--bg-card);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    position: relative;
}

.case-modal-overlay.active .case-modal {
    transform: translateY(0) scale(1);
}

.case-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.case-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.case-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-main);
}

.case-modal-content {
    display: flex;
}

.case-modal-visual {
    flex: 0 0 40%;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
}

.case-modal-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-modal-body {
    flex: 1;
    padding: 2.5rem;
}

.case-modal-tags {
    margin-bottom: 1rem;
}

.case-modal-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.case-modal-detail {
    margin-bottom: 1.5rem;
}

.case-modal-detail p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.case-modal-detail strong {
    color: var(--text-main);
    font-weight: 700;
}

.case-modal-result {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
}

.case-modal-result-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.case-modal-result-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.case-modal-result-value .text-accent {
    color: var(--accent);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    .case-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .case-modal-content {
        flex-direction: column;
    }

    .case-modal-visual {
        flex: none;
        min-height: 200px;
        height: 200px;
    }

    .case-modal-body {
        padding: 1.5rem;
    }

    .case-modal-title {
        font-size: 1.25rem;
    }
}