/* Talking Heads Player Marketing Page Styles */

.video-hero {
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
    overflow: hidden;
}

.video-hero-container {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    background: #000;
    overflow: hidden;
}

.video-hero-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: #0073FF;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
}

.video-hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 5;
    color: white;
}

.video-hero-overlay .hero-subtitle {
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(255,255,255,0.3);
    font-weight: bold;
}

.hero-benefits {
    width: 1060px;
    margin: 0 auto 50px auto;
    overflow: hidden;
}

.benefits-container {
    display: flex;
    transition: transform 0.3s ease;
    gap: 30px;
    margin-left: 15px;
    transform: translateX(var(--slide-offset, 0));
}

.benefit-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    width: 500px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #0073FF;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #0073FF;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0073FF;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 18px;
    z-index: 10;
}

.slider-arrow:hover {
    background: #0056CC;
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #0073FF;
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.benefit-item p {
    font-size: 1rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.social-proof {
    text-align: center;
}

.proof-text {
    font-size: 1rem;
    font-weight: 500;
}

.cta-primary, .cta-secondary {
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-primary {
    background: #0073FF;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 115, 255, 0.3);
}

.cta-primary:hover {
    background: #0056CC;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 115, 255, 0.4);
}

.cta-secondary {
    background: transparent;
    color: #0073FF;
    border: 2px solid #0073FF;
}

.cta-secondary:hover {
    background: #0073FF;
    color: white;
}

.video-demo-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-placeholder {
    text-align: center;
}

.demo-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

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

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header .section-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.modes-tabs {
    margin-bottom: 2rem;
}

/* Tab Container - Connects tabs to content */
.tab-container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tab-container .nav-tabs {
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

.tab-container .tab-content {
    margin-top: 0 !important;
    padding-top: 0;
    position: relative;
    z-index: 1;
}

/* Tab styling - Make them look like tabs with borders */
.modes-tabs .nav-tabs {
    border-bottom: 2px solid #6c757d;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modes-tabs .nav-tabs .nav-item {
    margin-bottom: -2px;
    padding: 0;
}

.modes-tabs .nav-tabs .nav-link {
    border: 2px solid #6c757d;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 20px;
    font-size: 1.35rem;
    font-weight: 500;
    color: #666;
    background-color: #f8f9fa;
    margin-right: 2px;
    margin-bottom: 0;
}

.modes-tabs .nav-tabs .nav-link:hover {
    border-color: #6c757d;
    background-color: #e9ecef;
    color: #0073FF;
}

.modes-tabs .nav-tabs .nav-link.active {
    border-color: #6c757d #6c757d #6c757d;
    background-color: #6c757d;
    color: white;
    border-bottom: 2px solid #6c757d;
    margin-bottom: -2px;
    position: relative;
    z-index: 2;
}

/* Tab content - Connected to tabs above */
.modes-tabs .tab-content {
    display: none;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    border-radius: 0 0 8px 8px;
}

.modes-tabs .tab-content.active {
    border-top: 2px solid #6c757d;
    margin-top: -2px;
}

.modes-tabs .tab-content.active {
    display: block;
}

.modes-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.mode-compact-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mode-compact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 115, 255, 0.15);
}

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

.mode-info {
    flex: 1;
}

.mode-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.mode-info p {
    font-size: 0.85rem;
    line-height: 1.3;
}

.mode-tag {
    background: #0073FF;
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

.modes-cta {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.mockup-header {
    background: #0073FF;
    padding: 15px 20px;
}

.mockup-nav {
    display: flex;
    gap: 20px;
}

.mockup-nav .nav-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.mockup-nav .nav-item.active {
    color: white;
    border-bottom-color: white;
}

.mockup-content {
    padding: 25px;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.video-thumb {
    width: 50px;
    height: 35px;
    background: #0073FF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.video-info {
    flex: 1;
}

.video-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.video-info p {
    font-size: 0.75rem;
}

.video-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.action-btn:hover {
    background: #e0e0e0;
}

.admin-mockup {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #0073FF;
}

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

.demo-screen {
    width: 100%;
    aspect-ratio: 1;
    background: url('Pastel Checker Pattern.png');
    background-size: cover;
    border: 2px solid #0073FF;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.screen-content {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    flex-shrink: 0;
}

.demo-video-player {
    position: absolute;
    top: var(--demo-top, auto);
    left: var(--demo-left, auto);
    right: var(--demo-right, auto);
    bottom: var(--demo-bottom, auto);
    margin-left: var(--demo-margin-left, 0);
    margin-top: var(--demo-margin-top, 0);
    width: 80px;
    height: 60px;
    background: #0073FF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.demo-label {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-top: 10px;
    text-align: center;
}

.position-display {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #f0f5ff, #f8f9fa);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #0073FF;
}

.current-position {
    font-size: 0.95rem;
}

.current-position strong {
    display: block;
    margin-bottom: 8px;
}

#position-values {
    color: #444;
    line-height: 1.8;
    font-size: 0.85rem;
}

.positioning-options h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
}

.position-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.control-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    flex-wrap: wrap;
}

.pos-btn {
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    border: 2px solid #d0d0d0;
    color: #333;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pos-btn:hover {
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    border-color: #0073FF;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 115, 255, 0.15);
}

.pos-btn.active {
    background: linear-gradient(135deg, #0073FF, #0056CC);
    color: white;
    border-color: #0056CC;
    box-shadow: 0 4px 12px rgba(0, 115, 255, 0.3);
}

.custom-btn {
    background: linear-gradient(135deg, #0073FF, #0056CC);
}

.custom-btn.active {
    background: linear-gradient(135deg, #0056CC, #0073FF);
}

.offset-input {
    width: 100px;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
}

.position-input {
    padding: 8px 10px;
    border: 2px solid #999999;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    transition: all 0.2s ease;
}

.position-input:hover {
    border-color: #b0d4ff;
}

.position-input:focus {
    outline: none;
    border-color: #0073FF;
    box-shadow: 0 0 0 3px rgba(0, 115, 255, 0.15);
    background: #f9fbff;
}

.position-examples {
    margin-top: 15px;
}

.current-example {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #0073FF;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.example-code {
    margin-bottom: 8px;
}

.example-code code {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 12px 14px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.6;
    white-space: pre-line;
    display: block;
    border: 1px solid #333;
    overflow-x: auto;
}

.example-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin-top: 8px;
}

.exit-section {
    border-top: 4px solid #0073FF;
}

/* Use Cases Section */
.use-cases-section .card {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.use-cases-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.use-cases-section .card-header {
    border-radius: 8px 8px 0 0;
    padding: 1.25rem 1rem;
}

.use-cases-section .card-body ul li {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section .card {
    width: 100%;
    min-width: 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonials-section .card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonials-section .card-body {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: white;
}

.testimonials-section .card-body .card-text {
    overflow-wrap: break-word;
    word-break: normal;
}

/* Testimonials: 3 cards visible, move by 1 on prev/next */
.testimonials-section .testimonials-carousel.mb-4 {
    margin-bottom: 1rem !important;
}

.testimonials-section .container-fluid {
    max-width: 100%;
}

.testimonials-section .testimonials-viewport {
    overflow: hidden;
    width: 100%;
}

.testimonials-section .testimonials-strip {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.3s ease;
    transform: translateX(var(--testimonials-offset, 0));
}

.testimonials-section .testimonial-card {
    flex: 0 0 33.333333%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.testimonials-section .testimonial-card .card {
    width: 100%;
    min-width: 0;
}

@media (max-width: 767px) {
    .testimonials-section .testimonial-card {
        flex: 0 0 100%;
    }
}

/* Nav below content: prev | indicators | next */
.testimonials-section .carousel-nav-below .carousel-control-prev,
.testimonials-section .carousel-nav-below .carousel-control-next {
    position: static;
    width: 48px;
    opacity: 0.9;
}

.testimonials-section .carousel-nav-below .carousel-control-prev:hover,
.testimonials-section .carousel-nav-below .carousel-control-next:hover {
    opacity: 1;
}

.testimonials-section .carousel-nav-below .carousel-indicators {
    position: static;
    margin-bottom: 0;
}

.testimonials-section .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.testimonials-section .carousel-indicators li.active {
    background-color: #fff;
}

/* Client name in header: white on blue (no blue-on-blue) */
.testimonials-section .card-header.highlight,
.testimonials-section .card-header .highlight {
    color: #fff !important;
}

.testimonials-section .card-body h3 {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
    color: #2c3e50;
}

.testimonials-section .card-body h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a252f;
    margin-bottom: 0;
}

.testimonials-section em {
    font-style: italic;
    line-height: 1.6;
    display: block;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.text-warning {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.testimonials-section .text-muted {
    color: #b0b0b0 !important;
}

.testimonials-section .section-subtitle {
    color: #b0b0b0;
}

/* Pricing Section */
.pricing-section {
    position: relative;
}

.pricing-section .card {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.pricing-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.pricing-section .card-header {
    padding: 1.5rem 1rem;
    border-radius: 8px 8px 0 0;
}

.pricing-section .card-body {
    padding: 2rem 1.5rem;
}

.pricing-section ul li {
    font-size: 0.95rem;
    line-height: 1.8;
}

.pricing-section .btn {
    font-weight: 600;
    transition: all 0.2s ease;
}

.pricing-section .btn-primary {
    color: #fff;
}

.pricing-section .btn:hover {
    transform: scale(1.02);
}

/* Most Popular badge (matches pricing page) */
.pricing-section .pricing-most-popular-badge {
    top: 65px;
    left: 75%;
    transform: translate(-50%, 0) rotate(35deg);
    z-index: 10;
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 0;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.final-cta-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.final-cta-section .btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.2s ease;
}

.final-cta-section .btn-light:hover,
.final-cta-section .btn-outline-light:hover {
    transform: scale(1.05);
}

.final-cta-buttons {
    gap: 1rem;
}

.final-cta-disclaimer {
    opacity: 0.8;
}

.final-cta-section p small {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.exit-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.exit-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.exit-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
    background: #f0f0f0;
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 10px;
}

.flow-step.highlight {
    background: #0073FF;
    color: white;
    padding: 15px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.flow-step.highlight .step-icon {
    font-size: 2.5rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #0073FF;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-primary, .cta-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .proof-text {
        font-size: 0.9rem;
    }

    .hero-benefits {
        width: 100%;
        padding: 0 20px;
    }

    .benefit-item {
        width: calc(100vw - 40px);
        max-width: 500px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .modes-tabs .nav-tabs .nav-link {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .modes-compact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mode-compact-card {
        padding: 15px;
        gap: 12px;
    }

    .mode-icon {
        font-size: 1.8rem;
    }

    .mode-info h4 {
        font-size: 1rem;
    }

    .mode-info p {
        font-size: 0.75rem;
    }

    .control-buttons {
        grid-template-columns: 1fr;
    }

    .pos-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .demo-screen {
        width: 250px;
        height: 160px;
    }
}
