/* ========================================================================
   TENAGILE TRANSFORMATION SERVICES - CORE STYLES
   ======================================================================== 
   Shared CSS for transformation services pages (COE, Agentic Workflows, 
   Maturity Assessment, AI Security)
   
   Version: 1.0
   Last Updated: July 2026
   ======================================================================== */

/* Base Wrapper - Full viewport width to break out of Ghost container */
.ta-core-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #1a1a1a;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.ta-core-wrapper * {
    box-sizing: border-box;
}

/* Color Variables - Teal Blue Theme */
.ta-core-wrapper {
    --teal: #0891b2;
    --teal-dark: #0e7490;
    --teal-light: #06b6d4;
    --cream: #faf8f3;
    --cream-dark: #eee9de;
    --text-dark: #1a1a1a;
    --text-medium: #4a5568;
    --text-light: #718096;
}

/* Content Container - tek-container pattern */
.ta-core-container {
    width: 90vw;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Page Banner - TenAgile Style (Centralized) */
.ta-core-page-banner {
    background: #334155;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 4px solid var(--teal);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-top: -40px;  /* Pull banner up closer to nav */
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Page Banner - Title (h1) */
.ta-core-page-banner h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

/* Page Banner - Subtitle (p) */
.ta-core-page-banner p {
    font-size: 1.8rem;
    color: #cbd5e1;
    line-height: 1.5;
    max-width: 800px;
    font-weight: 400;
    margin: 0 auto;
}

.ta-core-banner-quote {
    font-size: 1.4rem !important;
    font-style: italic;
    color: #cbd5e1;
    line-height: 1.6 !important;
    max-width: 850px;
    margin: 4rem auto 2rem auto !important;
    opacity: 0.95;
}

.ta-core-banner-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.ta-core-banner-subtitle {
    font-size: 1.8rem;
    color: #cbd5e1;
    line-height: 1.5;
    max-width: 800px;
    font-weight: 400;
    margin: 0 auto;
}

/* Section Styles */
.ta-core-section {
    margin-bottom: 80px;
    padding: 0 20px;
}

.ta-core-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.ta-core-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--teal);
    margin: 30px 0 15px 0;
}

.ta-core-section p {
    font-size: 1.6rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Definition Box */
.ta-core-definition-box {
    background: var(--cream);
    border-left: 4px solid var(--teal);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.ta-core-definition-box h3 {
    margin-top: 0;
    color: var(--teal-dark);
}

.ta-core-definition-box ul li {
    font-size: 1.5rem;
}

/* Comparison Cards */
.ta-core-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.ta-core-comparison-card {
    background: white;
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    padding: 25px;
}

.ta-core-comparison-card h4 {
    color: var(--teal-dark);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.ta-core-comparison-card ul li {
    font-size: 1.5rem;
}

/* Benefits Grid */
.ta-core-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.ta-core-benefit-card {
    background: var(--cream);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ta-core-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.15);
}

.ta-core-benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 10px;
}

.ta-core-benefit-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.ta-core-benefit-description {
    font-size: 1.4rem;
    color: var(--text-medium);
}

/* Core Functions List */
.ta-core-functions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.ta-core-function-item {
    background: white;
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    padding: 25px;
    transition: border-color 0.3s ease;
}

.ta-core-function-item:hover {
    border-color: var(--teal);
}

.ta-core-function-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.ta-core-function-item h4 {
    color: var(--teal-dark);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.ta-core-function-item p {
    font-size: 1.5rem;
}

/* Evolution Journey - 3 Column Grid */
.ta-core-lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.ta-core-lifecycle-card {
    background: var(--cream);
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid var(--teal);
}

.ta-core-lifecycle-phase {
    color: var(--teal-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ta-core-lifecycle-period {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.ta-core-lifecycle-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ta-core-lifecycle-card li {
    padding: 8px 0;
    color: var(--text-medium);
    font-size: 1.5rem;
}

.ta-core-lifecycle-card li::before {
    content: '→ ';
    color: var(--teal);
    font-weight: 700;
}

/* Pitfalls Callout */
.ta-core-pitfalls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.ta-core-pitfall-box {
    background: rgba(8, 145, 178, 0.1);
    border-left: 4px solid var(--teal);
    padding: 20px;
    border-radius: 8px;
}

.ta-core-pitfall-box.do-this {
    background: rgba(8, 145, 178, 0.15);
    border-left-color: var(--teal-dark);
}

.ta-core-pitfall-box h4 {
    margin-top: 0;
    font-size: 1.6rem;
    color: var(--text-dark);
}

.ta-core-pitfall-box p {
    font-size: 1.5rem;
}

/* Success Metrics */
.ta-core-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.ta-core-metric-card {
    background: var(--cream);
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid var(--teal);
}

.ta-core-metric-card h4 {
    color: var(--teal-dark);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.ta-core-metric-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ta-core-metric-card li {
    padding: 8px 0;
    color: var(--text-medium);
    font-size: 1.5rem;
}

.ta-core-metric-card li::before {
    content: '✓ ';
    color: var(--teal);
    font-weight: 700;
}

/* Getting Started Checklist */
.ta-core-checklist {
    background: white;
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.ta-core-checklist-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.ta-core-checklist-item:last-child {
    border-bottom: none;
}

.ta-core-checklist-number {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 20px;
}

.ta-core-checklist-text {
    flex: 1;
    color: var(--text-medium);
    font-size: 1.6rem;
}

/* Download Section */
.ta-core-download-section {
    padding: 60px 40px;
    text-align: center;
    margin: 60px 0;
}

.ta-core-download-section h2 {
    color: var(--teal-dark);
    margin-bottom: 15px;
    font-size: 3rem;
}

.ta-core-download-description {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--text-medium);
}

.ta-core-download-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0 40px 0;
    text-align: left;
}

.ta-core-download-feature {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    color: var(--text-medium);
}

.ta-core-download-feature::before {
    content: '✓';
    font-weight: 700;
    margin-right: 12px;
    font-size: 1.8rem;
    color: var(--teal);
}

.ta-core-download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--teal);
    color: white !important;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.ta-core-download-button:hover {
    background: var(--teal-dark);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.4);
}

.ta-core-download-icon {
    font-size: 1.8rem;
}

.ta-core-download-note {
    margin-top: 20px;
    font-size: 1.4rem;
    color: var(--text-light);
}

/* CTA Section */
.ta-core-cta-section {
    background: var(--cream);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    margin: 60px 0;
}

.ta-core-cta-section h2 {
    color: var(--teal-dark);
    margin-bottom: 20px;
    font-size: 3rem;
}

.ta-core-cta-section > p {
    font-size: 1.6rem;
}

.ta-core-cta-benefits {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ta-core-cta-benefits li {
    padding: 12px 0;
    color: var(--text-medium);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}

.ta-core-cta-benefits li::before {
    content: '→';
    color: var(--teal);
    font-weight: 700;
    margin-right: 15px;
    font-size: 1.3rem;
}

.ta-core-cta-button {
    display: inline-block;
    background: var(--teal);
    color: white !important;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.ta-core-cta-button:hover {
    background: var(--teal-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.4);
}

.ta-core-cta-note {
    margin-top: 20px;
    font-size: 1.4rem;
    color: var(--text-light);
}

/* Quote Block - Elegant centered style */
.ta-core-quote-block {
    text-align: center;
    padding: 20px 20px;
    margin: -40px 0 20px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ta-core-quote-text {
    font-size: 2.2rem;
    font-style: italic;
    color: var(--teal-dark);
    line-height: 1.5;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.ta-core-quote-author {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    font-style: normal;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ta-core-page-banner {
        padding: 60px 20px;
    }
    
    .ta-core-page-banner h1 {
        font-size: 2.8rem !important;
    }
    
    .ta-core-page-banner p {
        font-size: 1.4rem !important;
    }
    
    .ta-core-banner-title {
        font-size: 2.8rem !important;
    }
    
    .ta-core-banner-quote {
        font-size: 1.1rem !important;
    }
    
    .ta-core-comparison {
        grid-template-columns: 1fr;
    }
    
    .ta-core-benefits-grid,
    .ta-core-functions-list,
    .ta-core-lifecycle-grid,
    .ta-core-pitfalls-grid,
    .ta-core-metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .ta-core-download-features {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
   ACCORDION COMPONENT - Universal collapsible lists
   ======================================================================== */

/* Universal Accordion Styling - Used for all accordion lists */
.ta-core-accordion {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.ta-core-accordion:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.ta-core-accordion-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    transition: all 0.2s ease;
}

.ta-core-accordion-title::-webkit-details-marker {
    display: none;
}

.ta-core-accordion-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ta-core-accordion-text {
    flex: 1;
}

/* Optional badge for additional info (e.g., duration) */
.ta-core-accordion-badge {
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    flex-shrink: 0;
}

.ta-core-accordion-title::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #007bff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ta-core-accordion[open] .ta-core-accordion-title::after {
    transform: rotate(45deg);
}

.ta-core-accordion[open] .ta-core-accordion-title {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    color: #007bff;
}

.ta-core-accordion[open] .ta-core-accordion-badge {
    background: #e7f1ff;
    color: #0056b3;
}

.ta-core-accordion-content {
    padding: 1.5rem;
    background: #ffffff;
}

.ta-core-accordion-content p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #495057;
}

.ta-core-accordion-content ul {
    margin: 0;
    padding-left: 1.5rem;
}

.ta-core-accordion-content li {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    color: #495057;
    line-height: 1.6;
}

.ta-core-accordion-content li:last-child {
    margin-bottom: 0;
}

/* ========================================================================
   BENEFITS LIST GRID - For CTA sections
   ======================================================================== */

.ta-core-benefits-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ta-core-benefit-list-item {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-left: 3px solid #007bff;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.ta-core-benefit-list-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}