/* --- Root Variables & Global Reset --- */
:root {
    --primary-color: #F46A36;
    /* 이미지의 오렌지색 */
    --text-dark: #191F28;
    --text-gray: #6B7684;
    --bg-light: #F8F9FA;
    --bg-dark: #191F28;
    --section-spacing: 120px;
}

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    word-break: keep-all;

    /* Typography Improvements */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.025em;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.3;
}

/* 글자 크기 조정 (요청사항 반영: 살짝 줄임) */
h1 {
    font-size: 48px;
}

/* 기존 대형 사이즈에서 조정 */
h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

p {
    font-size: 17px;
    color: var(--text-gray);
}

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

section {
    padding: var(--section-spacing) 0;
}

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

/* --- Components --- */
.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--primary-color);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e35a28;
}

.section-label {
    display: inline-block;
    background-color: #FDE8DF;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* --- Section Specific Styles --- */

/* 1. Hero Section (Image 9) */
.hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
}

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

.hero-wave-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF0E3 40%, #FFD4BC 100%);
    /* Lighter Top, Warm Bottom */
}

.hero-wave-background svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ensure it covers */
}

.wave {
    transform-origin: center bottom;
    animation: waveFlow 8s ease-in-out infinite alternate;
}

.wave-1 {
    animation-duration: 12s;
}

.wave-2 {
    animation-duration: 9s;
    animation-delay: -2s;
}

.wave-3 {
    animation-duration: 7s;
    animation-delay: -4s;
}

@keyframes waveFlow {
    0% {
        transform: scaleY(1.0) translateX(0);
    }

    100% {
        transform: scaleY(1.05) translateX(10px);
    }
}

.hero h1 {
    /* Visually Hidden (SEO Safe) */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero h2 {
    margin-bottom: 24px;
    font-size: 70px !important;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #333D4B;
    /* Dark Charcoal for Contrast */
}

.hero p {
    font-size: 20px;
    margin-bottom: 48px;
}

/* Text Rotation Transition (Vertical Slide) */
.hero h2 {
    transition: none;
    /* JS handles animation classes */
}

.slide-out-up {
    animation: slideOutUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.slide-in-up {
    animation: slideInUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideOutUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. The Problem (Image 2, 6, 12) */
.problem-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.central-box {
    padding: 24px 48px;
    border: 3px solid var(--text-dark);
    font-size: 28px;
    font-weight: 700;
    background: white;
}

.branch-buttons {
    display: flex;
    gap: 20px;
}

.branch-btn {
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.branch-pm {
    background-color: #DC5F4D;
}

.branch-des {
    background-color: #E68A4F;
}

.branch-eng {
    background-color: #5B9B8A;
}

/* 3. The Cause (Image 5, 16, 19) */
.cause-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.cause-content {
    flex: 1;
}

.cause-graphic {
    flex: 1;
}

.data-table {
    width: 100%;
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    margin-top: 40px;
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 18px;
}

/* New Priority & Execution Section */
/* New Priority & Execution Section */
.priority-execution-section {
    padding: 120px 0;
    background: #f9f9f9;
}

.priority-execution-section h2 {
    font-size: 3rem;
    /* Increased size */
    font-weight: 800;
    /* Extra bold */
    letter-spacing: -0.02em;
}

.priority-execution-section h2 .text-glass {
    /* Solid Matte Material: Rich Orange -> Deep Orange */
    /* Removed all pale/white tones to fix 'White Gradient' complaint */
    background: linear-gradient(180deg, #ff9a6e 0%, #ff6b4a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Clean, physical look */
    text-shadow: none;
    -webkit-text-stroke: 0;
    filter: none;
    opacity: 1;
}

.priority-execution-section h2 .text-orange {
    /* Vibrant Natural Orange */
    background: linear-gradient(135deg, #FF7E5F 0%, #feb47b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.priority-execution-section p {
    font-size: 1.35rem;
    /* Increased size */
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    margin: 0 auto 60px;
}

.pe-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Full Bleed Overlay Layout (User Request - Final Match) */
.pe-card {
    flex: 0 1 380px;
    min-width: 380px;
    max-width: 440px;
    background: #1c1f20;
    /* Dark background base */
    border-radius: 24px;
    padding: 0;
    /* Remove padding for full bleed */
    text-align: center;
    transition: transform 0.3s ease;
    height: 480px;
    overflow: hidden;
    position: relative;
    /* Context for absolute children */
}

/* Image fills the entire card container */
.pe-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
    display: block;
}

.pe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Covers entire card = No borders guaranteed */
    object-position: bottom;
    /* Anchor to bottom to keep ground level */
    transform: scale(1.05);
    /* Slight zoom to ensure no edges are visible */

    /* Ensure rich colors */
    mix-blend-mode: normal;
    filter: brightness(1.1) contrast(1.0);

    /* No masks needed for full bleed */
    mask-image: none;
    -webkit-mask-image: none;
}

/* Text Floats on Top (Overlay) */
.pe-card h3 {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 10;
    margin: 0;

    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    /* Stronger shadow for better contrast */
    pointer-events: none;

    /* Force Solid White (Override any glass gradients) */
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

.pe-card p {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    padding: 0 24px;
    z-index: 10;
    margin: 0;

    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    /* Stronger shadow for better contrast */
}

/* 10. CTA Section */
.cta-section {
    padding: 120px 0;
    /* Spacious padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #191F28;
    /* Keep it dark or match footer context */
    /* Force Visibility to bypass Scroll Reveal */
    opacity: 1 !important;
    transform: none !important;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Vertically Center */
    max-width: 1000px;
    margin: 0 auto;
}

.cta-title {
    font-size: 56px;
    /* Large Title */
    font-weight: 700;
    color: white;
    line-height: 1.1;
    flex: 1;
}

.cta-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Right align content */
    gap: 24px;
    color: white;
}

.pe-card p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.6;
}

/* 10. CTA Section */
.cta-section {
    padding: 120px 0;
    /* Spacious padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #191F28;
    /* Keep it dark or match footer context */
    /* Force Visibility to bypass Scroll Reveal */
    opacity: 1 !important;
    transform: none !important;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Vertically Center */
    max-width: 1000px;
    margin: 0 auto;
}

.cta-title {
    font-size: 56px;
    /* Large Title */
    font-weight: 700;
    color: white;
    line-height: 1.1;
    flex: 1;
}

.cta-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Right align content */
    gap: 24px;
    margin-top: 10px;
}

.cta-desc {
    font-size: 18px;
    color: #8B95A1;
    line-height: 1.6;
    text-align: right;
    margin: 0;
}

.btn-cta-primary {
    display: inline-block;
    padding: 14px 28px;
    background: #F46A36;
    /* Brand Orange */
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 100px;
    /* Pill shape */
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-cta-primary:hover {
    background: #e05e2b;
    /* Darker Orange on hover */
}

/* Footer (Existing) */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 14px;
}

.table-row:last-child {
    border-bottom: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
}

.strong-num {
    font-weight: 700;
    font-size: 24px;
}

/* 4. The Reality (Image 7) */
.reality-cards {
    display: flex;
    gap: 32px;
    margin-top: 60px;
}

.stat-card {
    flex: 1;
    background: var(--bg-light);
    padding: 48px;
    border-radius: 16px;
}

.big-stat {
    font-size: 64px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 16px;
}

.stat-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

/* 5. The Cost (Image 8) */
.cost-section {
    background-color: var(--bg-dark);
    color: white;
}

.cost-section p {
    color: #aaa;
}

.calculator-ui {
    max-width: 600px;
    margin: 60px auto 0;
    text-align: center;
}

.team-size-input {
    font-size: 48px;
    font-weight: 700;
    color: white;
    background: none;
    border: none;
    border-bottom: 2px solid #555;
    width: 100px;
    text-align: center;
    margin-bottom: 40px;
}

.cost-result {
    font-size: 80px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.cost-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 12px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 16px;
}

.detail-row strong {
    color: white;
}

/* 6. The Solution - Steps (Image 3) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.step-card {
    background: var(--bg-light);
    padding: 48px 32px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 80px;
    font-weight: 900;
    color: #E0E4E8;
    z-index: 0;
}

.step-card h3,
.step-card p {
    position: relative;
    z-index: 1;
}

/* 7. The Solution - UI Demo (Image 0) */
.ui-demo-container {
    margin-top: 80px;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.daily-question-ui {
    background: white;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.voice-card {
    background: white;
    padding: 32px 24px;
    border-radius: 20px;
    border-top: 6px solid #ddd;
    /* Changed to Top border for a card look, or stick to left? Screenshot shows LEFT border. Stuck to left. */
    border: none;
    /* Reset */
    border-left: 6px solid #ddd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    text-align: left;
    /* Reverted to left alignment */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Reverted to left alignment */
    transition: transform 0.2s;
    min-width: 0;
    /* Fix for Grid Overflow with nowrap content */
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    /* Changed to Black (900) */
    /* ExtraBold */
    margin-bottom: 20px;
    line-height: 1.4;
    word-break: keep-all;
    color: #1F2937;
}

.voice-card h3 {
    font-size: 20px;
    margin-bottom: 24px;
    word-break: keep-all;
}

.voice-item {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    /* Ensure it doesn't exceed parent */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.voice-card.red {
    border-left-color: #DC5F4D;
}

.voice-card.purple {
    border-left-color: #A855F7;
}

.voice-card.green {
    border-left-color: #22C55E;
}

.flag-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.flag-red {
    background: #FEE2E2;
    color: #DC5F4D;
}

.flag-purple {
    background: #F3E8FF;
    color: #A855F7;
}

.flag-green {
    background: #DCFCE7;
    color: #22C55E;
}


/* 8. Science Section */
.science-section {
    background: #FFFFFF !important;
    /* Force White Theme */
    color: #191F28;
    padding: 120px 0;
}

.science-section p {
    color: #666;
}

.science-container {
    display: flex;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.science-content .section-label {
    background: rgba(244, 106, 54, 0.1) !important;
    /* Orange bg */
    color: #F46A36 !important;
    /* Brand Orange text */
}

.science-content h2 {
    color: #191F28;
}

.radar-chart-placeholder {
    flex: 1;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-style: italic;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-box {
    background: #F2F4F6;
    /* Light Gray Box */
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #E5E8EB;
}

.metric-box h3.metric-title {
    font-size: 18px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    /* Stack vertically for clean look */
    gap: 4px;
    color: #191F28;
}

.metric-en {
    font-weight: 800;
    font-size: 20px;
}

.metric-kr {
    font-weight: 500;
    font-size: 15px;
    color: #8B95A1;
    /* Softer gray for subtitle */
}

.metric-desc {
    font-size: 15px;
    color: #4E5968 !important;
    /* Darker readable gray for body */
    margin: 0;
    line-height: 1.5;
}

/* 9. FAQ (Image 4) */
.faq-list {
    max-width: 1100px;
    /* Increased Width */
    margin: 60px auto 0;
    /* Centered Block */
    text-align: left;
    /* Left Text */
}

.faq-item {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.faq-item p {
    font-size: 16px;
    margin: 0;
}

/* 10. Footer CTA (Image 10) */
.footer-cta {
    padding: 120px 0;
    text-align: center;
}

.copyright {
    margin-top: 80px;
    font-size: 14px;
    color: var(--text-gray);
}

/* 11. Alignment Grid (Impact Section) */
#alignment {
    background: #fff;
    overflow: hidden;
    padding: 120px 0;
    /* Align with other sections */
}

.align-vis {
    width: 100%;
    height: 600px;
    background: #F7F8FA;
    border-radius: 30px;
    cursor: none;
    /* Hide default cursor for immersion */
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

/* Custom Cursor Follower */
/* Custom Cursor Follower */
.align-vis:hover::after {
    content: 'Q-ALIGN';
    position: absolute;
    top: var(--y);
    left: var(--x);
    transform: translate(-50%, -50%);
    /* Dead Center */
    background: #F46A36;
    color: white;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 800;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(244, 106, 54, 0.3);
    white-space: nowrap;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* 12. Global Micro-interactions */

/* Buttons */
.btn,
.btn-cta-primary {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.btn:hover,
.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 106, 54, 0.3);
}

.btn:active,
.btn-cta-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(244, 106, 54, 0.2);
}

/* Metric Cards (Science Section) */
.metric-box {
    /* transition: all 0.3s ease; */
    cursor: default;
}

/* FAQ Items */
.faq-item {
    /* transition: all 0.3s ease; */
    border: 1px solid transparent;
}


/* 13. ROI Slider Customization */
/* Hide Spin Buttons */
.team-size-input::-webkit-outer-spin-button,
.team-size-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.team-size-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

.roi-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #444;
    /* Default dark track */
    border-radius: 4px;
    outline: none;
    transition: background 0.2s;
    cursor: pointer;
}

/* Slider Thumb (Knob) */
.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F46A36;
    /* Orange Knob */
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.roi-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F46A36;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h2 {
        font-size: 36px !important;
        line-height: 1.3;
    }

    .problem-diagram {
        flex-direction: column;
    }

    .branch-buttons {
        flex-direction: column;
        width: 100%;
    }

    .branch-btn {
        text-align: center;
    }

    .cause-container,
    .reality-cards,
    .steps-grid,
    .team-voice-grid,
    .science-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .big-stat {
        font-size: 48px;
    }

    .cost-result {
        font-size: 56px;
    }

    /* V8 Deep Mobile Optimization */
    .container {
        padding: 0 20px;
        /* Ensure visual breathing room */
    }

    /* Force Canvas Resizing */
    canvas {
        max-width: 100%;
    }

    .canvas-container {
        height: auto !important;
        padding: 40px 0;
    }

    /* Typography Scaling */
    h1 {
        font-size: 32px;
        /* Global mobile H1 */
        line-height: 1.3;
    }

    .hero h1 {
        font-size: 32px !important;
        /* Adjusted to 32px to fit "팀이 흔들리지 않으려면" on one line */
        word-break: keep-all;
        line-height: 1.4;
    }

    .hero p {
        font-size: 15px;
        /* Reduced to 15px to fit long line (Initial Tilt) on mobile */
        line-height: 1.5;
        word-break: keep-all;
        padding: 0 5px;
        /* Minimize padding to give text more room */
    }

    h2 {
        font-size: 26px;
    }

    /* Table Mobile View */
    .data-table {
        width: 100% !important;
        max-width: none !important;
        /* Ensure it fills container */
    }

    .table-row {
        gap: 16px;
    }

    /* Steps Mobile View (Requested Left Align) */
    .step-card {
        text-align: left !important;
        padding: 32px 24px;
    }

    /* Daily Question UI Mobile (Requested Left Align & Smaller Font) */
    .daily-question-ui {
        text-align: left !important;
        padding: 32px 24px !important;
    }

    .daily-question-ui h3 {
        font-size: 19px !important;
        /* Reduced from 22px */
        line-height: 1.5 !important;
    }

    .daily-question-ui .section-label {
        display: inline-block;
        /* Ensure label behaves correctly with left align */
    }

    /* Priority Section Mobile Title Fix */
    .priority-execution-section h2 {
        font-size: 32px !important;
        /* Increased back to 32px per user feedback */
        word-break: keep-all;
        /* Prevent mid-word breaks */
        line-height: 1.3;
    }

    .priority-execution-section .mobile-br {
        display: block !important;
        /* Force break */
        content: "";
        margin: 5px 0;
    }

    .priority-execution-section p {
        font-size: 15px;
        line-height: 1.5;
    }


    /* Calculator Adjustments */
    .cost-result {
        font-size: 42px;
        /* Prevent overflow */
        word-break: break-all;
    }

    .team-size-input {
        width: 80px;
        /* Smaller input */
    }

    /* V8 Mobile Additions (Refined) */
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 40px 20px;
    }

    .cta-right {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .cta-desc {
        text-align: center;
        margin-bottom: 24px;
        font-size: 16px;
    }

    .btn-cta-primary {
        width: 100%;
        /* Full width button */
        justify-content: center;
    }

    .align-vis {
        height: 250px;
        /* Reduced height */
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Science Card Adjustments */
    .metric-box {
        padding: 24px;
    }

    .radar-chart-placeholder {
        padding: 20px 0 !important;
    }
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
    /* Allow mouse interaction for the canvas */
    overflow: hidden;
}

#hero-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* 14. Beta Signup Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.modal-input {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 12px;
    outline: none;
    transition: border 0.2s;
}

.modal-input:focus {
    border-color: #F46A36;
}

.btn-modal-submit {
    width: 100%;
    padding: 16px;
    background: #F46A36;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-modal-submit:hover {
    background: #E05A2B;
}

/* Leader-Facing Value Section */
.leader-value-section {
    padding: 120px 0;
    width: 100%;
    position: relative;
    background: #F9FAFB;
    /* Subtle Grey */
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
}

.value-card {
    background: #FFFFFF;
    border: 1px solid #E5E8EB;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 32px;
    height: 32px;
    color: #6B7684;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

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

.value-card:hover .card-icon {
    color: #F46A36;
    /* Primary Orange */
}

.feature-name {
    font-size: 20px;
    font-weight: 600;
    /* SemiBold */
    color: #6B7684;
    margin: 0 0 8px 0;
    text-transform: capitalize;
}

.card-headline {
    font-size: 18px;
    font-weight: 500;
    /* Medium */
    color: #191F28;
    /* Darkest Text */
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.card-body {
    font-size: 16px;
    font-weight: 400;
    /* Regular */
    color: #4E5968;
    /* Body Text */
    line-height: 1.5;
    margin: 0;
    word-break: keep-all;
}

/* Tablet (2 Columns) */
@media (max-width: 1024px) {
    .leader-value-section {
        padding: 80px 0;
    }

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

    .value-card:last-child {
        grid-column: span 1;
    }
}

/* Mobile (1 Column) */
@media (max-width: 768px) {
    .leader-value-section {
        padding: 60px 0;
        padding-left: 24px;
        padding-right: 24px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .value-card {
        padding: 24px;
    }
}

/* Hybrid Accordion FAQ */
.faq-hybrid-accordion {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.faq-category {
    background: #FFFFFF;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.25s ease-out;
    border: 1px solid #E5E8EB;
}

.faq-category.active {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    border-color: #F46A36;
    /* Highlight border on open */
}

/* Category Header */
.faq-category-header {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #FFFFFF;
    transition: background 0.2s ease;
}

.faq-category-header:hover {
    background: #F9FAFB;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    /* Semibold */
    color: #191F28;
}

.category-icon {
    width: 24px;
    height: 24px;
    color: #8B95A1;
    transition: transform 0.25s ease;
}

.faq-category.active .category-icon {
    transform: rotate(180deg);
    color: #F46A36;
}

/* Category Body (Hidden by default) */
.faq-category-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease-out, opacity 0.25s ease-out;
    background: #FAFAFA;
    /* Slightly different bg for inner questions */
    padding: 0 32px;
}

.faq-category.active .faq-category-body {
    max-height: 1000px;
    /* Arbitrary large height */
    opacity: 1;
    padding-bottom: 32px;
    /* Bottom padding when open */
}

/* Question Item */
.faq-qna {
    border-bottom: 1px solid #E5E8EB;
}

.faq-qna:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
    /* Semibold */
    color: #333D4B;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #F46A36;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
}

.faq-answer p {
    font-size: 16px;
    color: #4E5968;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 24px;
}

.faq-qna.active .faq-answer {
    max-height: 200px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .faq-category-header {
        padding: 20px 24px;
    }

    .category-title {
        font-size: 18px;
    }

    .faq-category-body {
        padding: 0 24px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 15px;
    }
}