/* Custom Styles for Automation Consulting Presentation */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #48bb78;
    --danger-color: #f5576c;
    --dark-bg: #1a1a2e;
    --light-bg: #f7f9fc;
}

/* Typography */
.reveal h1, .reveal h2, .reveal h3, .reveal h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.reveal p, .reveal li {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Title Slide */
.title-slide {
    text-align: center;
    padding: 2rem;
}

.animate-title {
    animation: fadeInUp 1s ease-out;
    font-size: 3.5rem !important;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.8rem !important;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.tagline {
    font-size: 1.2rem !important;
    opacity: 0.8;
    margin-top: 2rem;
}

.white-text {
    color: white !important;
}

/* Problem Grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.problem-item {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
}

.problem-item i {
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.problem-item h4 {
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
    font-size: 1.2rem !important;
}

.problem-item p {
    font-size: 0.9rem !important;
    color: #666;
}

.problem-icon {
    color: var(--danger-color);
    margin-right: 0.5rem;
}

/* Solution Container */
.solution-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.solution-box {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    flex: 1;
    max-width: 400px;
}

.solution-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem !important;
}

.solution-box ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.solution-box li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem !important;
}

.solution-box li i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.plus-sign {
    font-size: 3rem !important;
    color: var(--primary-color);
    font-weight: bold;
}

.result-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    margin-top: 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.solution-icon {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 1.5rem auto 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-content {
    margin-left: 2rem;
    background: white;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 1;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem !important;
}

.timeline-content p {
    color: #666;
    font-size: 0.95rem !important;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.tech-card h4 {
    color: white;
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem !important;
}

.tech-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem !important;
}

/* ROI Container */
.roi-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin: 1rem 0;
}

.roi-container h3 {
    font-size: 0.9em !important;
}

.roi-container li {
    font-size: 0.6em !important;
    line-height: 1.4;
    text-align: left;
}

.investment-box, .savings-box {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.investment-box {
    border: 3px solid var(--danger-color);
}

.savings-box {
    border: 3px solid var(--success-color);
}

.investment-box:hover, .savings-box:hover {
    transform: scale(1.05);
}

.price, .savings {
    font-size: 2.5rem !important;
    font-weight: bold;
    margin: 1rem 0;
}

.price {
    color: var(--danger-color);
}

.savings {
    color: var(--success-color);
}

.price span, .savings span {
    font-size: 1rem !important;
    opacity: 0.7;
}

.vs-sign {
    font-size: 2rem !important;
    font-weight: bold;
    color: #666;
}

.roi-result p {
    font-size: 0.6em !important;
    margin: 0.5rem 0 0;
}

.roi-result {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #48bb7815 0%, #48bb7830 100%);
    border-radius: 15px;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.use-case {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.use-case:hover {
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    transform: translateY(-5px);
}

.use-case i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.use-case h4 {
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
    font-size: 1.1rem !important;
}

.use-case p {
    font-size: 0.85rem !important;
    color: #666;
}

/* Benefits List */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.benefit {
    background: rgba(255,255,255,0.95);
    padding: 1.25rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: scale(1.05);
}

.benefit i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit h4 {
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
    font-size: 1.2rem !important;
}

.benefit p {
    color: #666;
    font-size: 0.95rem !important;
}

/* CTA Slide */
.cta-slide {
    text-align: center;
    padding: 0 2rem;
}

.cta-box {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.cta-box h2 {
    color: var(--primary-color);
    font-size: 3rem !important;
    margin-bottom: 1rem;
}

.cta-box p {
    color: #666;
    font-size: 1.2rem !important;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-button.secondary {
    background: var(--success-color);
    color: white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.guarantee {
    margin-top: 2rem;
    font-size: 1.1rem !important;
    background: rgba(72, 187, 120, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
}

/* Contact Info */
.contact-info {
    display: flex;
    justify-content: space-around;
    margin: 3rem 0;
}

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

.contact-item i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item p {
    font-size: 1.2rem !important;
    color: #333;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .problem-grid,
    .tech-grid,
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-container {
        flex-direction: column;
    }
    
    .roi-container {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}
/* Progress bar */
.reveal .progress span {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

/* Case studies (placeholders until real, authorised client data exists) */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.case-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
}

.case-card h4 {
    color: var(--primary-color);
    font-size: 0.8em !important;
    margin-bottom: 0.75rem;
}

.case-card p {
    font-size: 0.9rem !important;
    margin: 0.4rem 0;
}

.case-card[data-placeholder] {
    border-top-style: dashed;
}

/* Keep investment and CTA slides inside one 960x700 page (live and PDF) */
.roi-result h3 {
    font-size: 1.1em !important;
    margin: 0;
}

.cta-slide h1 {
    font-size: 2.2em !important;
}

.cta-slide > h3 {
    font-size: 1em !important;
}

.cta-button {
    font-size: 0.55em;
}

/* Contact/scheduling elements stay hidden until cta.js finds them configured */
[hidden] {
    display: none !important;
}

/* Wave 5: sprint ladder */
.slide-note {
    font-size: 0.55em !important;
    color: #555;
    margin-top: 1.2rem !important;
}

.slide-lead {
    font-size: 0.65em !important;
    color: #444;
    max-width: 820px;
    margin: 0 auto 0.8rem !important;
}

.ladder {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.ladder-step {
    background: white;
    border-radius: 15px;
    padding: 1.2rem 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-color);
}

.ladder-step.highlight {
    border: 3px solid var(--secondary-color);
    border-top-width: 6px;
}

.ladder-number {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
}

.ladder-step h4 {
    font-size: 0.75em !important;
    color: var(--dark-bg);
    margin: 0 0 0.4rem;
}

.ladder-step p {
    font-size: 0.5em !important;
    color: #666;
    margin: 0.3rem 0;
}

.ladder-step p.ladder-price {
    font-size: 0.6em !important;
    font-weight: bold;
    color: var(--secondary-color);
}

.offer-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.offer-card {
    flex: 1;
    max-width: 420px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.offer-card h3 {
    font-size: 0.8em !important;
    color: var(--secondary-color);
    margin: 0;
}

.offer-card .price {
    color: var(--primary-color);
    font-size: 1.7em !important;
    margin: 0.4rem 0;
}

.offer-card .price span {
    font-size: 0.4em !important;
}

.offer-card p,
.offer-card li {
    font-size: 0.55em !important;
    color: #444;
    margin: 0.2rem 0;
}

.offer-card ul {
    text-align: left;
    margin: 0.4rem 0 0 1.2rem;
}

.offer-card p.offer-note {
    font-size: 0.45em !important;
    color: #777;
    margin-top: 0.6rem;
}

.terms-list {
    list-style: none;
    margin: 1.2rem auto 0 !important;
    padding: 0;
    max-width: 760px;
    text-align: left;
}

.terms-list li {
    font-size: 0.55em !important;
    margin: 0.35rem 0;
}

.terms-list i {
    color: var(--primary-color);
    width: 1.6em;
}

.report-grid {
    margin-top: 1rem;
    gap: 1rem;
}

.report-grid .tech-card {
    padding: 1rem;
}

.reveal section[data-background-color="#1a1a2e"] .slide-note {
    color: rgba(255,255,255,0.85);
}

.box-text {
    font-size: 0.6em !important;
    color: #444;
    text-align: left;
}

.contact-lines p {
    font-size: 0.55em !important;
    margin: 0.5rem 0 0;
}

.cta-box .contact-lines a {
    color: var(--primary-color);
}

/* Wave 5 fit: keep every slide inside one 960x700 page */
.reveal .terms-list {
    list-style: none;
}

.reveal .terms-list li {
    font-size: 0.5em !important;
}

.offer-card .price {
    font-size: 1.3em !important;
}

.case-grid {
    gap: 1rem;
    margin-top: 1rem;
}

.case-card {
    padding: 0.8rem 1.2rem;
}

.reveal .case-grid h4 {
    font-size: 0.55em !important;
    margin-bottom: 0.4rem;
}

.case-grid .case-card p {
    font-size: 0.75rem !important;
    line-height: 1.45;
}

.cta-box h2 {
    font-size: 1.3em !important;
}

.use-cases-grid {
    margin-top: 1.2rem;
    gap: 1.2rem;
}

.use-case {
    padding: 1.1rem;
}

.cta-box p {
    margin-bottom: 1.2rem;
}

.cta-box .contact-lines {
    margin-top: 0.8rem;
}

.cta-slide > h3 {
    font-size: 0.8em !important;
}

.cta-box .contact-lines p {
    font-size: 1rem !important;
    margin: 0.3rem 0 0;
}

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

.reveal .ladder-step h4 {
    font-size: 0.55em !important;
}

.solution-container {
    align-items: stretch;
}

.case-grid .case-card p {
    font-size: 1rem !important;
}
