/* Subpage Specific Styles */

/* Active nav link */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Subpage Hero */
.subpage-hero {
    padding: 60px 0;
    background: linear-gradient(to bottom, var(--background-light), var(--background));
    text-align: center;
}

.subpage-hero .hero-actions {
    margin: 2rem 0 1rem;
}

.subpage-hero .hero-note {
    color: var(--text-light);
    font-size: 0.875rem;
}

.subpage-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.subpage-hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.subpage-hero-note {
    color: var(--text-light);
    font-style: italic;
}

/* Pain Section */
.pain-section {
    padding: 60px 0;
    background: var(--background-section);
}

.pain-timeline {
    max-width: 800px;
    margin: 0 auto 2rem;
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pain-day {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

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

.day {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
}

.issue {
    color: var(--text-dark);
    font-weight: 500;
}

.question {
    color: var(--text-light);
    font-style: italic;
}

.arrow {
    color: var(--text-light);
}

.result {
    color: var(--warning-color);
}

.result-only {
    color: #dc2626;
    font-weight: 600;
}

.pain-summary {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 3rem auto 0;
    padding: 2rem;
    background: #fef3c7;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
    max-width: 700px;
}

/* Before & After Section */
.before-after {
    padding: 60px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-card {
    padding: 2rem;
    border-radius: 12px;
}

.comparison-card.before {
    background: #fef2f2;
    border: 2px solid #fecaca;
}

.comparison-card.after {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
}

.comparison-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background: var(--background-section);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    font-size: 2rem;
}

.benefit-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* How Section */
.how-section {
    padding: 60px 0;
}

.how-steps {
    max-width: 700px;
    margin: 3rem auto;
}

.how-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content {
    font-size: 1.125rem;
    color: var(--text-dark);
}

.how-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
}

/* Subpage CTA */
.subpage-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    text-align: center;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-perfect-for {
    margin-top: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* Specific Styles for Product Teams Page */
.reality-flow {
    max-width: 700px;
    margin: 2rem auto;
}

.flow-step {
    padding: 1.25rem;
    font-size: 1.125rem;
    background: var(--background-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.flow-step:after {
    content: '↓';
    position: absolute;
    left: 50%;
    bottom: -28px;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--text-light);
}

.flow-step:last-child {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.flow-step:last-child:after {
    display: none;
}

.flow-arrow {
    display: none;
}

/* ROI Section */
.roi-comparison {
    max-width: 900px;
    margin: 3rem auto;
}

.roi-metric {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.roi-before, .roi-after {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.roi-before {
    background: #fef2f2;
    border: 2px solid #ef4444;
}

.roi-after {
    background: #f0fdf4;
    border: 2px solid #10b981;
}

.roi-before h4, .roi-after h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.roi-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roi-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.roi-before .roi-number {
    color: #ef4444;
}

.roi-after .roi-number {
    color: #10b981;
}

.roi-label {
    color: var(--text-light);
    font-size: 1rem;
}

.roi-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.roi-benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.roi-benefit-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.roi-benefit-label {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

/* Scenarios List */
.scenarios-list {
    list-style: none;
    max-width: 600px;
    margin: 2rem auto;
}

.scenarios-list li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.scenarios-list li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* QA Specific */
.qa-flow {
    max-width: 700px;
    margin: 3rem auto;
}

.qa-result {
    background: var(--background);
    border: 2px solid var(--success-color);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
}

.qa-result:before {
    content: "✅ RESULT";
    position: absolute;
    top: -12px;
    left: 1.5rem;
    background: var(--background);
    color: var(--success-color);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0 0.5rem;
}

.qa-result strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Engineering Manager Specific */
.productivity-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    max-width: 800px;
}

.metric-box {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.metric-box.measured {
    background: var(--background-light);
    border: 2px solid var(--primary-color);
}

.metric-box.unmeasured {
    background: #fef2f2;
    border: 2px solid #dc2626;
}

.metric-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.metric-box.measured h3 {
    color: var(--primary-color);
}

.metric-box.unmeasured h3 {
    color: #dc2626;
}

.metric-box ul {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.metric-box ul li {
    padding: 0.5rem 0;
    font-size: 1.125rem;
}

.metric-box ul li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 0.5rem;
}

.metric-box p {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 500;
    color: #dc2626;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.metric-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* Developer Page Specific */
.reality-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 900px;
}

.reality-box {
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    min-height: 200px;
}

.expectation-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #3b82f6;
}

.reality-box-bad {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #ef4444;
}

.reality-box h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.expectation-box h3 {
    color: #3b82f6;
}

.reality-box-bad h3 {
    color: #ef4444;
}

.reality-box p {
    font-size: 1.125rem;
    line-height: 2;
}

.expectation-box:before {
    content: "😊";
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
}

.reality-box-bad:before {
    content: "😤";
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
}

.developer-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dev-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dev-benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.dev-benefit-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Responsive adjustments for subpages */
@media (max-width: 768px) {
    .subpage-hero-title {
        font-size: 2rem;
    }
    
    .comparison-grid,
    .metrics-grid,
    .reality-comparison,
    .productivity-comparison {
        grid-template-columns: 1fr;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .developer-benefits {
        grid-template-columns: 1fr;
    }
    
    .roi-metric {
        grid-template-columns: 1fr;
    }
    
    .roi-benefits {
        grid-template-columns: 1fr;
    }
    
    .pain-day {
        font-size: 0.9rem;
    }
}

/* Subpage CTA Beta Message */
.subpage-cta .hero-note {
    color: white !important;
    opacity: 1;
    margin-top: 1rem;
}

/* Subpage CTA Button */
.subpage-cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.subpage-cta .btn-primary:hover {
    background: var(--background-light);
}

/* CTA Perfect For */
.cta-perfect-for {
    margin: 1.5rem 0 2rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* Result Checklist */
.result-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
}

.result-checklist li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.125rem;
}