/* ============================================
   JodyCraft Portfolio - Design System v2
   Color: Dark Blue (#1E3A5F) + Green (#4CAF50)
   Font: Noto Sans JP + Inter
   ============================================ */

:root {
    --color-primary: #1E3A5F;
    --color-primary-light: #253D5C;
    --color-accent: #4CAF50;
    --color-accent-light: #66BB6A;
    --color-accent-dark: #388E3C;
    --color-bg: #0B1420;
    --color-bg-card: #111E2E;
    --color-bg-card-hover: #162840;
    --color-text: #E0E6ED;
    --color-text-muted: #7E93A7;
    --color-border: #1E3048;
    --color-glow: rgba(76, 175, 80, 0.08);
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-card: 0 2px 20px rgba(0,0,0,0.25);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.35);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Base ---- */
html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-ja);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-light);
}

/* Bootstrap .text-muted override for dark theme */
.text-muted {
    color: var(--color-text-muted) !important;
}

/* ---- Loading Screen ---- */
.loading-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--color-bg);
    color: var(--color-text);
}

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

.loading-content h2 {
    font-size: 2rem;
    color: var(--color-accent);
}

/* ---- Layout ---- */
.layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding-top: 72px;
}

/* ---- Navigation ---- */
.site-nav {
    background-color: rgba(11, 20, 32, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(30, 48, 72, 0.5);
    padding: 0.75rem 0;
    z-index: 1000;
    transition: background-color var(--transition);
}

.site-nav .navbar-brand {
    font-size: 1.3rem;
    color: var(--color-accent) !important;
    letter-spacing: 0.5px;
}

.brand-icon {
    font-family: var(--font-en);
    font-weight: 700;
    opacity: 0.7;
}

.site-nav .nav-link {
    color: var(--color-text-muted) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color var(--transition);
    font-size: 0.9rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--color-text) !important;
}

/* ---- Hero Section ---- */
.hero-section {
    background: radial-gradient(ellipse at 30% 0%, rgba(30, 58, 95, 0.6) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 100%, rgba(76, 175, 80, 0.08) 0%, transparent 50%),
                var(--color-bg);
    padding: 10rem 0 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(76, 175, 80, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-subtitle {
    font-family: var(--font-en);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.15s forwards;
}

.text-accent {
    color: var(--color-accent);
    position: relative;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.9;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.hero-cta {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.45s forwards;
}

/* ---- Buttons ---- */
.btn-accent {
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    transition: all var(--transition);
    box-shadow: 0 2px 12px rgba(76, 175, 80, 0.2);
}

.btn-accent:hover {
    background-color: var(--color-accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.3);
}

.btn-outline-light {
    border-radius: var(--radius-sm);
    font-weight: 600;
    border-color: rgba(255,255,255,0.2);
    transition: all var(--transition);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
}

.bg-accent {
    background-color: var(--color-accent) !important;
}

/* ---- Feature Cards ---- */
.features-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.feature-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    background-color: var(--color-bg-card-hover);
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

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

.feature-icon {
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.15);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ---- Pickup / Projects Preview ---- */
.pickup-section {
    padding: 6rem 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(30, 58, 95, 0.5) 0%, var(--color-bg) 70%);
}

.project-preview-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
}

.project-preview-card:hover {
    border-color: rgba(76, 175, 80, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.project-preview-icon {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.project-preview-card h4 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

/* ---- CTA Section ---- */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(56, 142, 60, 0.15) 0%, rgba(30, 58, 95, 0.3) 100%);
    border-top: 1px solid rgba(76, 175, 80, 0.1);
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.cta-section .btn-accent {
    background-color: var(--color-accent);
    color: #fff;
}

/* ---- Page Header ---- */
.page-header {
    background: radial-gradient(ellipse at 30% 0%, rgba(30, 58, 95, 0.5) 0%, transparent 60%),
                var(--color-bg);
    padding: 7rem 0 3.5rem;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header .lead {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ---- Section Title ---- */
.section-title {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
    margin-top: 0.75rem;
}

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

/* ---- About Page ---- */
.about-section {
    padding: 5rem 0;
}

.avatar-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-en);
    margin: 0 auto;
    color: #fff;
    box-shadow: 0 4px 24px rgba(76, 175, 80, 0.2);
}

/* ---- Timeline ---- */
.timeline-section {
    padding: 5rem 0;
    background-color: rgba(17, 30, 46, 0.5);
}

.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.timeline-marker {
    position: absolute;
    left: -2.6rem;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border);
    border: 2px solid var(--color-bg);
    transition: all var(--transition);
}

.timeline-item.active .timeline-marker {
    background-color: var(--color-accent);
    box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.15);
    width: 12px;
    height: 12px;
}

.timeline-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ---- Mission ---- */
.mission-section {
    padding: 5rem 0;
}

.mission-quote {
    font-size: 1.4rem;
    font-style: normal;
    color: var(--color-accent);
    margin: 2rem 0;
    position: relative;
    padding: 0 2rem;
}

.mission-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.2em;
    font-size: 2.5rem;
    color: rgba(76, 175, 80, 0.3);
    font-family: var(--font-en);
}

/* ---- About Page: Achievements ---- */
.about-achievements-section {
    padding: 3rem 0 4rem;
    background-color: rgba(17, 30, 46, 0.5);
}

.achievement-item {
    padding: 1.5rem 1rem;
}

.achievement-number {
    display: block;
    font-family: var(--font-en);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.achievement-number small {
    font-size: 0.5em;
    color: var(--color-text-muted);
    font-weight: 400;
}

.achievement-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ---- About Page: Target Customers ---- */
.about-target-section {
    padding: 5rem 0;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.target-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    height: 100%;
    transition: all var(--transition);
}

.target-item:hover {
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.target-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.target-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---- Skills Page ---- */
.skills-section {
    padding: 5rem 0;
}

.category-title {
    font-size: 1.15rem;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    letter-spacing: 0.5px;
}

.skill-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    height: 100%;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
}

.skill-card:hover {
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.skill-icon {
    font-size: 0.75rem;
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-name {
    font-size: 0.95rem;
    margin: 0;
}

.skill-bar-container {
    background-color: rgba(30, 48, 72, 0.5);
    border-radius: 4px;
    height: 4px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.skill-bar {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.skill-description {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

.learning-section {
    padding: 3.5rem 0;
    background-color: rgba(17, 30, 46, 0.5);
}

.learning-badge {
    display: inline-block;
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
}

.learning-badge:hover {
    background: rgba(76, 175, 80, 0.08);
    border-color: var(--color-accent);
}

/* ---- Projects Page ---- */
.projects-section, .work-projects-section {
    padding: 5rem 0;
}

.work-projects-section {
    background-color: rgba(17, 30, 46, 0.5);
}

.project-card, .work-project-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
}

.work-project-card {
    background-color: rgba(255, 255, 255, 0.02);
}

.project-card:hover, .work-project-card:hover {
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.project-card.highlighted {
    border-color: rgba(76, 175, 80, 0.25);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-icon {
    color: var(--color-accent);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background-color: rgba(37, 61, 92, 0.5);
    color: var(--color-text-muted);
    padding: 0.2rem 0.7rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-family: var(--font-en);
    border: 1px solid rgba(30, 48, 72, 0.8);
}

/* ---- CSV Viewer ---- */
.csv-viewer-section {
    padding: 3rem 0;
}

.upload-area {
    background-color: var(--color-bg-card);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition);
}

.upload-area:hover {
    border-color: rgba(76, 175, 80, 0.4);
    background-color: var(--color-bg-card-hover);
}

.stats-panel {
    background-color: var(--color-bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.stat-card {
    background-color: var(--color-primary-light);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-en);
    color: var(--color-accent);
}

.chart-area {
    background-color: rgba(30, 58, 95, 0.3);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.table-section {
    overflow: hidden;
    border-radius: var(--radius);
}

/* ---- Contact Page ---- */
.contact-section {
    padding: 5rem 0;
}

.contact-form .form-control,
.contact-form .form-select {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    background-color: var(--color-bg-card);
    color: var(--color-text);
}

.contact-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.social-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    color: var(--color-text);
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
}

.social-link-card:hover {
    border-color: rgba(76, 175, 80, 0.3);
    color: var(--color-text);
    transform: translateX(6px);
    box-shadow: var(--shadow-hover);
}

.social-icon {
    color: var(--color-accent);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.consult-list {
    list-style: none;
    padding: 0;
}

.consult-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.consult-list li::before {
    content: '→';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: 400;
}

.contact-description {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-note {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* ---- Footer ---- */
.site-footer {
    background-color: rgba(17, 30, 46, 0.5);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 0.5rem 0;
}

.footer-link {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: color var(--transition);
}

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 7rem 0 5rem;
    }

    .page-header {
        padding: 5.5rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .features-section,
    .pickup-section,
    .projects-section,
    .work-projects-section,
    .skills-section,
    .about-section,
    .contact-section {
        padding: 3.5rem 0;
    }

    .feature-card,
    .project-card,
    .work-project-card {
        padding: 1.5rem;
    }
}

/* ---- Services Pages ---- */
.services-hero {
    background: radial-gradient(ellipse at 30% 0%, rgba(30, 58, 95, 0.6) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 100%, rgba(76, 175, 80, 0.08) 0%, transparent 50%),
                var(--color-bg);
    padding: 10rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(76, 175, 80, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Pain Points */
.pain-section {
    padding: 5rem 0;
    background-color: rgba(17, 30, 46, 0.5);
}

.pain-list {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.pain-item {
    padding: 0.75rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(30, 48, 72, 0.5);
}

.pain-item:last-child {
    border-bottom: none;
}

.pain-check {
    color: var(--color-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Service Cards */
.service-cards-section {
    padding: 6rem 0;
}

.service-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

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

.service-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.service-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 1.5rem 0;
    font-family: var(--font-en);
}

.btn-outline-accent {
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all var(--transition);
    background: transparent;
}

.btn-outline-accent:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.25);
}

/* Strengths */
.strengths-section {
    padding: 6rem 0;
    background-color: rgba(17, 30, 46, 0.5);
}

.strength-card {
    padding: 2rem;
}

.strength-number {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(76, 175, 80, 0.2);
    margin-bottom: 0.75rem;
}

.strength-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.strength-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Flow Steps */
.flow-section {
    padding: 5rem 0;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.flow-step {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1.25rem;
    min-width: 140px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.flow-step-number {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.flow-step-label {
    font-size: 0.85rem;
    line-height: 1.5;
}

.flow-step-label small {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

.flow-arrow {
    color: var(--color-accent);
    font-size: 1.2rem;
    font-weight: 700;
}

/* FAQ */
.faq-section {
    padding: 5rem 0;
    background-color: rgba(17, 30, 46, 0.5);
}

.faq-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-card);
}

.faq-item h4 {
    font-size: 0.95rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.8;
}

/* Diagnosis / Advisor Detail Pages */
.diagnosis-section,
.advisor-section {
    padding: 5rem 0;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    line-height: 1.6;
    box-shadow: var(--shadow-card);
}

.challenge-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.deliverables-section {
    padding: 5rem 0;
    background-color: rgba(17, 30, 46, 0.5);
}

.deliverable-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    padding-left: 4.5rem;
}

.deliverable-card:hover {
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.deliverable-number {
    position: absolute;
    left: 1.5rem;
    top: 2rem;
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(76, 175, 80, 0.25);
}

.deliverable-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.deliverable-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.7;
}

/* Pricing Box */
.pricing-flow-section {
    padding: 5rem 0;
}

.pricing-box {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.pricing-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-en);
}

.pricing-note {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.pricing-details {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pricing-details li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.pricing-details li::before {
    content: '•';
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

/* Steps */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
}

.step-num {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    min-width: 2rem;
    text-align: center;
}

.step-item strong {
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.step-item p {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Why Section */
.why-section {
    padding: 5rem 0;
    background-color: rgba(17, 30, 46, 0.5);
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.why-item {
    padding: 0.75rem 1rem;
    padding-left: 2rem;
    position: relative;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    box-shadow: var(--shadow-card);
}

.why-item::before {
    content: '→';
    color: var(--color-accent);
    position: absolute;
    left: 0.75rem;
    font-weight: 400;
}

/* Next Steps */
.next-steps-section {
    padding: 5rem 0;
}

.next-step-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
}

.next-step-card:hover {
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.next-step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.next-step-card p {
    color: var(--color-accent);
    font-weight: 700;
    font-family: var(--font-en);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.next-step-card .small {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

/* Target Section */
.target-section {
    padding: 5rem 0;
}

/* Responsive - Services */
@media (max-width: 768px) {
    .services-hero {
        padding: 7rem 0 5rem;
    }

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

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

    .flow-step {
        width: 100%;
    }

    .service-cards-section,
    .strengths-section,
    .pain-section,
    .faq-section,
    .diagnosis-section,
    .advisor-section,
    .deliverables-section,
    .pricing-flow-section,
    .why-section,
    .target-section,
    .next-steps-section {
        padding: 3.5rem 0;
    }

    .deliverable-card {
        padding-left: 2rem;
    }

    .deliverable-number {
        display: none;
    }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---- Blazor overrides ---- */
#blazor-error-ui {
    background: var(--color-accent-dark);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #fff;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* ============================================
   Sample Report Page
   ============================================ */

.sample-report {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 1.5rem 3rem;
}

.report-nav {
    margin-bottom: 1.5rem;
}

.back-link {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--transition);
}

.back-link:hover {
    color: var(--color-accent-light);
}

.report-notice {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    color: var(--color-accent-light);
    margin-bottom: 2rem;
    text-align: center;
}

/* Report Header */
.report-header {
    background-color: rgba(17, 30, 46, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.report-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.report-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.report-client {
    font-size: 1.1rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.report-meta-table {
    max-width: 450px;
    margin: 0 auto;
    font-size: 0.85rem;
}

.report-meta-table td:first-child {
    font-weight: 600;
    color: var(--color-text-muted);
    width: 120px;
}

/* Report Sections */
.report-section {
    background-color: rgba(17, 30, 46, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem 2rem;
    margin-bottom: 0;
    box-shadow: var(--shadow-card);
}

.report-section h2 {
    font-size: 1.4rem;
    color: var(--color-text);
    border-left: 4px solid var(--color-accent);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.report-section h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    border-left: 4px solid var(--color-accent);
    padding-left: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.report-section h4 {
    font-size: 0.95rem;
    color: var(--color-accent-light);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.report-section p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text);
}

.report-section ul,
.report-section ol {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text);
    padding-left: 1.5rem;
}

.report-section li {
    margin-bottom: 0.4rem;
}

/* Report Tables */
.report-table {
    background-color: rgba(11, 20, 32, 0.6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    width: 100%;
}

.report-table thead th {
    background-color: rgba(76, 175, 80, 0.15);
    color: var(--color-accent-light);
    font-weight: 600;
    border-bottom: 2px solid rgba(76, 175, 80, 0.3);
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

.report-table tbody td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(30, 48, 72, 0.5);
    color: var(--color-text);
    vertical-align: top;
}

.report-table tbody tr:last-child td {
    border-bottom: none;
}

.report-table tbody tr:hover {
    background-color: rgba(76, 175, 80, 0.03);
}

.report-table-highlight td {
    background-color: rgba(76, 175, 80, 0.08) !important;
}

/* Report Flow Diagrams */
.report-flow-diagram {
    background-color: rgba(11, 20, 32, 0.7);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: auto;
    margin-bottom: 1rem;
    white-space: pre;
}

/* Report Callout */
.report-callout {
    background-color: rgba(76, 175, 80, 0.06);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.report-callout p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Report Matrix */
.report-matrix .matrix-critical {
    background-color: rgba(244, 67, 54, 0.12);
    color: #ef9a9a;
    font-weight: 600;
}

.report-matrix .matrix-high {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ffcc80;
}

.report-matrix .matrix-medium {
    background-color: rgba(255, 235, 59, 0.08);
    color: #fff59d;
}

.report-matrix .matrix-low {
    background-color: rgba(76, 175, 80, 0.06);
    color: var(--color-text-muted);
}

/* Report Divider */
.report-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2rem 0;
    opacity: 0.5;
}

/* Report Note */
.report-note {
    font-size: 0.8rem !important;
    color: var(--color-text-muted) !important;
    font-style: italic;
}

/* Report Footer */
.report-footer {
    background-color: rgba(17, 30, 46, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.report-footer p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.3rem;
}

.report-footer-brand {
    font-size: 0.95rem !important;
    color: var(--color-text) !important;
    margin-top: 0.75rem !important;
}

.report-footer-meta {
    font-size: 0.75rem !important;
    color: var(--color-text-muted) !important;
    margin-top: 0.5rem !important;
}

/* Report CTA */
.report-cta {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(30, 58, 95, 0.3));
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: var(--radius);
}

.report-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.report-cta p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   Sample Report Preview Section (ServiceDiagnosis)
   ============================================ */

.sample-report-preview-section {
    padding: 5rem 0;
    background-color: rgba(17, 30, 46, 0.3);
}

.sample-report-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.sample-report-card:hover {
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.sample-report-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.text-muted-custom {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.report-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-text);
}

.highlight-label {
    display: inline-block;
    background-color: rgba(76, 175, 80, 0.15);
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
}

/* Report Preview Visual (CSS-only document mockup) */
.report-preview-visual {
    position: relative;
    display: inline-block;
    margin-top: 1rem;
}

.preview-page {
    width: 180px;
    height: 240px;
    background-color: rgba(17, 30, 46, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.preview-title-bar {
    height: 12px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    border-radius: 3px;
    width: 70%;
    opacity: 0.8;
}

.preview-line {
    height: 6px;
    background-color: rgba(224, 230, 237, 0.12);
    border-radius: 2px;
    width: 100%;
}

.preview-line.short {
    width: 45%;
}

.preview-line.medium {
    width: 75%;
}

.preview-chart {
    height: 40px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 4px;
    margin: 4px 0;
}

.preview-badge {
    display: inline-block;
    background-color: rgba(76, 175, 80, 0.15);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-top: 0.75rem;
}

/* Responsive - Sample Report */
@media (max-width: 768px) {
    .sample-report {
        padding: 5rem 1rem 2rem;
    }

    .report-header {
        padding: 1.5rem 1rem;
    }

    .report-header h1 {
        font-size: 1.4rem;
    }

    .report-section {
        padding: 1.5rem 1rem;
    }

    .report-section h2 {
        font-size: 1.2rem;
    }

    .report-table {
        font-size: 0.75rem;
    }

    .report-table thead th,
    .report-table tbody td {
        padding: 0.4rem 0.5rem;
    }

    .report-flow-diagram {
        font-size: 0.7rem;
        padding: 1rem;
    }

    .sample-report-card {
        padding: 1.5rem 1rem;
    }

    .preview-page {
        width: 140px;
        height: 190px;
        padding: 14px 12px;
    }

    .sample-report-preview-section {
        padding: 3.5rem 0;
    }
}
