/* Solutions Hub Page Styles */

h2 {
    line-height: normal;
}

main {
    margin-top: 0;
}

/* Hero Section */
.solutions-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 180px 0 80px;
    position: relative;
    overflow: hidden;
}

.solutions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.solutions-hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.solutions-hero p.lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Category Sections */
.category-section {
    padding: 80px 0;
}

.category-section.bg-gray {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.category-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.category-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* Solution Cards */
.solution-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--card-color-start), var(--card-color-end));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.solution-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.solution-card .icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--card-color-start), var(--card-color-end));
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.solution-card .icon {
    font-size: 32px;
    color: white;
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1f2937;
    line-height: 1.3;
}

.solution-card .description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.solution-card .stats {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.solution-card .stat-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.5;
}

.solution-card .stat-item:last-child {
    margin-bottom: 0;
}

.solution-card .stat-item .material-icons {
    font-size: 18px;
    color: var(--card-color-start);
    flex-shrink: 0;
    margin-top: 2px;
}

.solution-card .cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--card-color-start);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.solution-card .cta:hover {
    gap: 1rem;
    color: var(--card-color-end);
}

.solution-card .cta .material-icons {
    transition: transform 0.3s ease;
    font-size: 20px;
}

.solution-card:hover .cta .material-icons {
    transform: translateX(4px);
}

/* Card Color Themes */
.card-people {
    --card-color-start: #10b981;
    --card-color-end: #059669;
    border-top-color: #10b981;
}

.card-alignment {
    --card-color-start: #f59e0b;
    --card-color-end: #d97706;
    border-top-color: #f59e0b;
}

.card-engineering {
    --card-color-start: #3b82f6;
    --card-color-end: #2563eb;
    border-top-color: #3b82f6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    margin: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: ctaGlow 6s linear infinite;
}

@keyframes ctaGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-section h2,
.cta-section p {
    color: white;
    position: relative;
    z-index: 1;
}

.btn-hero-white {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.btn-hero-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    color: #667eea;
}

/* Hero Container */
.solutions-hero .container-lg {
    position: relative;
    z-index: 1;
}

/* -------------------------------------------------------------------------- */
/* Solution Pages (shared)                                                    */
/* -------------------------------------------------------------------------- */

.solution-page main {
    margin-top: 0;
}

.solution-hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.solution-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.10) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.10) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.solution-hero__inner {
    position: relative;
    z-index: 1;
}

.solution-hero__title {
    color: #fff;
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.solution-hero__lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.solution-hero--startup {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 999px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-white--green {
    color: #059669;
}

.btn-hero-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    font-weight: 700;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.solution-section {
    padding: 80px 0;
}

.solution-section--alt {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #111827;
}

.section-header p {
    font-size: 1.15rem;
    color: #6b7280;
    margin-bottom: 0;
}

.section-lead {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 1.75rem;
}

/* Cards */
.pain-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border-left: 4px solid #ef4444;
}

.pain-card__title {
    color: #ef4444;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.toolkit-block {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #10b981;
    margin-bottom: 1.5rem;
}

.toolkit-block__title {
    color: #059669;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.toolkit-block__lead {
    margin-bottom: 2rem;
}

/* Feature grid + tone variants */
.toolkit-feature-grid {
    display: grid;
    gap: 1rem;
}

.toolkit-feature-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.toolkit-feature-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 992px) {
    .toolkit-feature-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .toolkit-feature-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.toolkit-feature {
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.toolkit-feature__icon {
    font-size: 36px;
    margin-bottom: 0.75rem;
}

.toolkit-feature__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: #111827;
}

.toolkit-feature__desc {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.tone-green { background: #f0fdf4; border-color: #bbf7d0; }
.tone-green .toolkit-feature__icon { color: #10b981; }

.tone-blue { background: #eff6ff; border-color: #bfdbfe; }
.tone-blue .toolkit-feature__icon { color: #3b82f6; }

.tone-purple { background: #faf5ff; border-color: #e9d5ff; }
.tone-purple .toolkit-feature__icon { color: #a855f7; }

.tone-amber { background: #fffbeb; border-color: #fde68a; }
.tone-amber .toolkit-feature__icon { color: #f59e0b; }

.tone-red { background: #fef2f2; border-color: #fecaca; }
.tone-red .toolkit-feature__icon { color: #ef4444; }

.tone-teal { background: #f0fdfa; border-color: #99f6e4; }
.tone-teal .toolkit-feature__icon { color: #14b8a6; }

.tone-indigo { background: #f5f3ff; border-color: #ddd6fe; }
.tone-indigo .toolkit-feature__icon { color: #8b5cf6; }

/* Preview cards */
.preview-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.preview-card--muted {
    background: #f9fafb;
}

.preview-card__title {
    margin-bottom: 1.25rem;
    color: #374151;
    font-weight: 800;
}

.preview-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.preview-card__row-title {
    font-weight: 800;
    color: #111827;
}

.preview-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
}

.preview-pill--blue {
    background: #dbeafe;
    color: #1e40af;
}

.preview-timeline {
    padding-left: 1rem;
    border-left: 3px solid #3b82f6;
}

.preview-timeline__item {
    margin-bottom: 1rem;
}

.preview-timeline__item:last-child {
    margin-bottom: 0;
}

.preview-timeline__item strong {
    color: #2563eb;
}

/* Survey preview */
.survey-question { margin-bottom: 1rem; }
.survey-question__label {
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 700;
    font-size: 0.9rem;
}

.survey-scale {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
}

.survey-scale__item {
    background: #dbeafe;
    border-radius: 6px;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #1f2937;
}

.survey-scale__item:nth-child(2) { background: #bfdbfe; }
.survey-scale__item:nth-child(3) { background: #93c5fd; }
.survey-scale__item--selected { background: #60a5fa; color: #fff; font-weight: 800; }
.survey-scale__item--strong { background: #3b82f6; color: #fff; font-weight: 800; }

/* Checklists */
.solution-page .checklist {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.solution-page .checklist li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.solution-page .checklist .material-icons {
    color: #10b981;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 1px;
}

.checklist--timeline {
    margin-top: 0;
}

/* Stats */
.solution-page .stat-box {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    height: 100%;
    text-align: center;
}

.solution-page .stat-number {
    font-size: 2.25rem;
    font-weight: 900;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.solution-page .stat-label {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

/* Pricing callout */
.pricing-callout {
    background: linear-gradient(135deg, #fffbeb 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 3rem;
    margin-top: 3rem;
    border: 3px solid #f59e0b;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.18);
}

.pricing-callout__title {
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 900;
}

.pricing-callout__copy {
    color: #78350f;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.pricing-compare {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-compare__label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.pricing-compare__label--spaced {
    margin-top: 1.5rem;
}

.pricing-compare__value {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.pricing-compare__value--bad { color: #dc2626; }
.pricing-compare__value--good { color: #10b981; }

.pricing-compare__period {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Impact panel */
.impact-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 3rem;
    color: #fff;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.30);
}

.impact-panel__title {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 900;
}

.impact-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.impact-item:last-child { margin-bottom: 0; }

.impact-item h5 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.impact-item p {
    margin: 0;
    opacity: 0.92;
    font-size: 0.95rem;
}

/* Milestones */
.milestone-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    height: 100%;
}

.milestone-card__title {
    margin-bottom: 1.25rem;
    font-weight: 900;
}

.milestone-card__subtitle {
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.milestone-steps {
    line-height: 2;
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.milestone-insight {
    padding: 1rem;
    border-radius: 8px;
    margin: 0;
    border-left: 4px solid;
}

.milestone-insight--blue {
    background: #eff6ff;
    border-left-color: #3b82f6;
}

.milestone-insight--green {
    background: #f0fdf4;
    border-left-color: #10b981;
}

/* Personas */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.persona-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
}

.persona-card__icon {
    font-size: 3rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.persona-card__icon--green { color: #10b981; }
.persona-card__icon--blue { color: #3b82f6; }
.persona-card__icon--amber { color: #f59e0b; }
.persona-card__icon--purple { color: #8b5cf6; }

@media (max-width: 576px) {
    .solution-hero__title { font-size: 2.25rem; }
    .solution-hero { padding: 110px 0 70px; }
    .pricing-callout { padding: 2rem; }
    .impact-panel { padding: 2rem; }
}

/* Solution Card Links */
.solution-card-link {
    text-decoration: none;
}

/* CTA Wrapper */
.cta-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-inner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow-effect {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: ctaGlow 6s linear infinite;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p.cta-lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section p.cta-footer {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}
