/* Landing Page Styles */

/* Hero Section */
.hero-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-action-shot {
    position: relative;
}

.hero-action-shot::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, transparent, white);
}

.sport-rotate {
    display: inline-block;
    min-width: 150px;
    text-align: left;
    font-weight: 700;
}

/* Device Frames */
.laptop-frame {
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-frame {
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Product Showcase */
.product-showcase {
    overflow: hidden;
}

.feature-badge {
    font-size: 0.875rem;
    font-weight: 600;
}

.device-mockup-container img {
    transition: transform 0.3s ease;
}

.device-mockup-container:hover img {
    transform: scale(1.02);
}

/* Testimonials */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-logo img {
    object-fit: contain;
    background: white;
}

/* How it Works */
.step-number {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.step-icon {
    line-height: 1;
}

/* Sport Cards - keep existing styles */
.card-cover {
    position: relative;
    overflow: hidden;
}

.card-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    transition: opacity 0.3s ease;
}

.card-cover:hover::before {
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    /* Hero sectie - tablet */
    .hero-action-shot {
        display: none !important;
    }

    .phone-mockup {
        display: none !important;
    }

    .hero-text {
        text-align: center;
        padding: 0 !important;
    }

    .cta-buttons {
        justify-content: center;
    }

    .min-vh-75 {
        min-height: 50vh !important;
    }

    .hero-modern {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 767px) {
    /* === HERO SECTIE === */
    .hero-modern {
        padding-top: 2rem !important;
        padding-bottom: 1.5rem !important;
    }

    .min-vh-75 {
        min-height: auto !important;
    }

    .hero-text {
        text-align: left;
        padding: 0 1.5rem !important;
        margin-bottom: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.5rem !important;
        font-weight: 700 !important;
    }

    .hero-text .lead {
        font-size: 1.05rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0;
    }

    .sport-rotate {
        display: inline;
        min-width: auto;
        white-space: nowrap;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .cta-buttons .btn {
        width: 100%;
        padding: 1.2rem 2rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.5rem !important;
    }

    /* CTA intro tekst direct onder button - licht grijs met pijltje */
    .mobile-cta-intro {
        display: block;
        text-align: center;
        font-size: 0.9rem;
        color: #adb5bd;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 1.5rem;
        font-weight: 300;
    }

    .mobile-cta-intro::before {
        content: '↓';
        display: block;
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
        color: #adb5bd;
    }

    /* === PRODUCT SHOWCASE - FULLSCREEN VERTICALE LAYOUT === */
    .product-showcase {
        padding: 0 !important;
        background: white !important;
    }

    .product-showcase .container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    /* Elke feature krijgt eigen fullscreen sectie */
    .product-showcase .row {
        min-height: 85vh !important;
        margin: 0 !important;
        padding: 1.5rem 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Override desktop ordering - alles verticaal op mobiel */
    .product-showcase .col-lg-6 {
        width: 100% !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Feature content sectie - TEKST EERST */
    .product-showcase .order-lg-1,
    .product-showcase .order-lg-2 {
        width: 100% !important;
    }

    /* Tekst komt altijd eerst (order 1) */
    .product-showcase .order-lg-1 {
        order: 1 !important;
    }

    /* Mockup komt altijd tweede (order 2) */
    .product-showcase .order-lg-2 {
        order: 2 !important;
    }

    /* Tekst styling - groot en leesbaar met compacte spacing */
    .product-showcase .pe-lg-4,
    .product-showcase .ps-lg-4 {
        padding: 0 !important;
        text-align: left !important;
        margin-bottom: 1rem !important;
    }

    .feature-badge {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.7rem !important;
        display: inline-block;
        margin-bottom: 0.6rem !important;
        font-weight: 600 !important;
    }

    .product-showcase h3 {
        font-size: 1.4rem !important;
        margin-bottom: 0.8rem !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
    }

    .product-showcase p {
        display: none !important; /* Verberg beschrijvende tekst */
    }

    .product-showcase ul {
        font-size: 0.9rem !important;
        text-align: left !important;
        margin: 0 0 0.5rem 0 !important;
        padding-left: 1.2rem !important;
        list-style-position: outside !important;
    }

    .product-showcase ul li {
        margin-bottom: 0.5rem !important;
        line-height: 1.4 !important;
        padding-left: 0.2rem !important;
    }

    .product-showcase ul li i {
        color: #667eea !important;
        font-weight: 600 !important;
    }

    /* Mockup container - neemt resterende ruimte, komt altijd NA tekst */
    .device-mockup-container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* AI DEMO CARD - Grote fullscreen versie */
    .demo-card-hover {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 1.5rem !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
        border-radius: 16px !important;
        background: white !important;
    }

    .ai-prompt-demo {
        padding: 1.5rem !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
        border: 1px solid #e9ecef !important;
    }

    .ai-prompt-demo h6 {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
        font-weight: 600 !important;
        color: #212529 !important;
    }

    .ai-prompt-demo .form-control-lg {
        font-size: 0.95rem !important;
        padding: 0.85rem 1rem !important;
        margin-bottom: 0.8rem !important;
        height: auto !important;
        border: 1px solid #dee2e6 !important;
        background: white !important;
        color: #212529 !important;
    }

    .ai-prompt-demo textarea {
        font-size: 0.9rem !important;
        padding: 0.85rem 1rem !important;
        min-height: 120px !important;
        line-height: 1.5 !important;
        border: 1px solid #dee2e6 !important;
        background: white !important;
        color: #212529 !important;
    }

    .demo-card-hover p.small {
        display: none !important;
    }

    /* LAPTOP MOCKUP - GROOT TV/Beamer scherm voor mobiel */
    .laptop-frame {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 12px 12px 25px !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.25) !important;
        border-radius: 16px !important;
        aspect-ratio: 16 / 9 !important;
        background: #1a1a1a !important;
    }

    #presentation-mockup-demo {
        height: 100% !important;
        min-height: auto !important;
        padding: 12px !important;
        border-radius: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        background: #f8f9fa !important;
    }

    #presentation-mockup-demo > div:first-child {
        padding: 8px 10px !important;
        margin-bottom: 8px !important;
        background: white !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    }

    /* Logo en sponsor - groter voor TV scherm */
    #presentation-mockup-demo > div:first-child > div > div {
        width: 35px !important;
        height: 35px !important;
    }

    #presentation-mockup-demo h1 {
        font-size: 0.8rem !important;
        margin: 0 !important;
        font-weight: 700 !important;
        color: #667eea !important;
    }

    #presentation-mockup-demo h2 {
        font-size: 0.7rem !important;
        margin: 0 !important;
        color: #6c757d !important;
    }

    #presentation-mockup-demo .poule-card {
        padding: 8px !important;
        margin-bottom: 8px !important;
        background: white !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    }

    #presentation-mockup-demo .matches-card {
        padding: 8px !important;
        background: white !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    }

    /* Progress bar */
    #presentation-mockup-demo .poule-card > div:first-child > div {
        height: 6px !important;
        border-radius: 3px !important;
    }

    /* Table headers - goed leesbaar */
    #presentation-mockup-demo .poule-card > div:nth-child(2) > div,
    #presentation-mockup-demo .matches-card > div:nth-child(2) > div {
        padding: 6px 8px !important;
        font-size: 0.6rem !important;
        font-weight: 700 !important;
        color: #212529 !important;
    }

    /* Tabel rijen - goed leesbaar */
    #presentation-mockup-demo .poule-table-body > div {
        padding: 6px 8px !important;
        font-size: 0.55rem !important;
        color: #212529 !important;
    }

    #presentation-mockup-demo .matches-card > div:last-child > div {
        padding: 6px 8px !important;
        font-size: 0.55rem !important;
        color: #212529 !important;
    }

    /* TELEFOON MOCKUP - Side-by-side layout */
    /* Special handling voor 3e showcase (telefoon): mockup links, tekst rechts */
    .product-showcase .row:nth-child(3) {
        flex-direction: row !important;
        align-items: center !important;
        padding: 2rem 1rem !important;
        gap: 0.5rem !important;
    }

    /* Container met mockup (order-lg-2) komt links (order 1) */
    .product-showcase .row:nth-child(3) .order-lg-2 {
        width: 45% !important;
        order: 1 !important;
        padding: 0 !important;
    }

    /* Container met tekst (order-lg-1) komt rechts (order 2) */
    .product-showcase .row:nth-child(3) .order-lg-1 {
        width: 55% !important;
        order: 2 !important;
        padding: 0 0 0 0.5rem !important;
    }

    .product-showcase .row:nth-child(3) .device-mockup-container {
        margin-bottom: 0 !important;
    }

    /* Tekst compacter voor side-by-side */
    .product-showcase .row:nth-child(3) .feature-badge {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.6rem !important;
        margin-bottom: 0.5rem !important;
    }

    .product-showcase .row:nth-child(3) h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }

    .product-showcase .row:nth-child(3) ul {
        font-size: 0.8rem !important;
        padding-left: 1rem !important;
    }

    .product-showcase .row:nth-child(3) ul li {
        margin-bottom: 0.5rem !important;
    }

    .phone-frame {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
        border-radius: 24px !important;
        background: #1a1a1a !important;
    }

    .phone-screen {
        width: 100% !important;
        height: 400px !important;
        border-radius: 16px !important;
    }

    #score-entry-mockup-demo {
        height: 400px !important;
        padding: 12px !important;
    }

    #score-entry-mockup-demo > div:first-child {
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
        border-bottom: 2px solid #e9ecef !important;
    }

    #score-entry-mockup-demo h2 {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        font-weight: 700 !important;
        color: #212529 !important;
    }

    #score-entry-mockup-demo > div:nth-child(1) div:first-child {
        font-size: 0.65rem !important;
        margin-bottom: 5px !important;
        color: #6c757d !important;
        font-weight: 600 !important;
    }

    /* Score display - groot en prominent */
    #score-entry-mockup-demo > div:nth-child(2) {
        margin: 18px 0 !important;
    }

    #score-entry-mockup-demo .demo-score-1,
    #score-entry-mockup-demo .demo-score-2 {
        font-size: 3rem !important;
        min-width: 55px !important;
        font-weight: 800 !important;
        color: #667eea !important;
    }

    #score-entry-mockup-demo > div:nth-child(2) > span:nth-child(2) {
        font-size: 1.8rem !important;
        font-weight: 600 !important;
        color: #6c757d !important;
    }

    /* Team labels groter */
    #score-entry-mockup-demo > div:nth-child(3) > div > div:first-child {
        font-size: 0.75rem !important;
        margin-bottom: 9px !important;
        font-weight: 700 !important;
        color: #212529 !important;
        text-transform: uppercase !important;
    }

    /* Buttons groot en goed zichtbaar */
    #score-entry-mockup-demo .demo-plus-1,
    #score-entry-mockup-demo .demo-plus-2,
    #score-entry-mockup-demo .demo-minus-1,
    #score-entry-mockup-demo .demo-minus-2 {
        height: 42px !important;
        font-size: 1.4rem !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
    }

    #score-entry-mockup-demo > div:nth-child(3) > div > div:last-child {
        gap: 9px !important;
    }

    /* Onderste buttons en auto-save */
    #score-entry-mockup-demo .auto-save-demo {
        font-size: 0.65rem !important;
        margin: 9px 0 !important;
    }

    #score-entry-mockup-demo > div:nth-child(5) {
        margin-top: 12px !important;
        gap: 9px !important;
    }

    #score-entry-mockup-demo button {
        font-size: 0.65rem !important;
        padding: 9px !important;
        border-radius: 7px !important;
        font-weight: 600 !important;
    }

    /* Badge bovenaan */
    #score-entry-mockup-demo > div:last-child {
        padding: 5px 12px !important;
        font-size: 0.65rem !important;
        border-radius: 0 0 8px 8px !important;
    }

    /* === TESTIMONIALS - Compacter voor mobiel === */
    .testimonials-section {
        padding: 2rem 0 !important;
    }

    .testimonials-section h2 {
        font-size: 1.3rem !important;
        margin-bottom: 0.8rem !important;
    }

    .testimonials-section p.lead {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }

    .testimonial-card {
        margin-bottom: 1rem !important;
        padding: 1rem !important;
    }

    .testimonial-card blockquote {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.8rem !important;
    }

    .testimonial-card .text-muted {
        font-size: 0.8rem !important;
    }

    .testimonial-logo {
        height: 40px !important;
        margin-bottom: 0.8rem !important;
    }

    .testimonial-logo img {
        max-height: 40px !important;
    }

    /* === CTA SECTIE === */
    .cta-section .display-5 {
        font-size: 1.75rem !important;
    }

    .cta-section .lead {
        font-size: 1rem !important;
    }

    .cta-section .col-lg-7,
    .cta-section .col-lg-5 {
        padding: 2rem !important;
    }

    .cta-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .cta-section .d-flex {
        flex-direction: column !important;
    }

    /* === SPORT CARDS === */
    .row-cols-md-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Button enhancements */
.btn-accent {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-accent:hover::before {
    width: 300px;
    height: 300px;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Mobile Phone Mockup */
.phone-mockup-demo {
    max-width: 350px;
    margin: 0 auto;
    perspective: 1000px;
}

.phone-device {
    background: #1a1a1a;
    border-radius: 22px;
    padding: 9px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: transform 0.3s ease;
}

.phone-device:hover {
    transform: translateY(-5px);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 13px;
    background: #1a1a1a;
    border-radius: 0 0 11px 11px;
    z-index: 10;
}

.phone-screen {
    background: #f0f2f5;
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
    width: 250px;
    position: relative;
}

/* Mobile Demo Styles - Miniature Version */
.mobile-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 5px 4px;
    background: white;
    margin: 4px 4px 0 4px;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.header-logo-small,
.header-sponsor-small {
    flex: 0 0 20px;
    text-align: center;
}

.logo-placeholder,
.sponsor-placeholder {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    margin: 0 auto;
}

.sponsor-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.header-title-small {
    text-align: center;
    flex: 1;
}

.header-title-small h1 {
    font-size: 0.65em;
    color: #667eea;
    margin: 0 0 1px 0;
    font-weight: 700;
}

.header-title-small p {
    font-size: 0.5em;
    margin: 0;
    color: #6c757d;
    font-weight: 500;
}

.mobile-search-container {
    padding: 4px 4px 0 4px;
}

.mobile-search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 5px;
    padding: 4px 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    font-size: 0.6em;
    color: #6c757d;
}

.mobile-search-box .search-icon {
    margin-right: 3px;
}

.mobile-tabs {
    display: flex;
    background: white;
    border-radius: 5px;
    margin: 4px 4px 5px 4px;
    padding: 2px;
    gap: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.mobile-tab {
    flex: 1;
    padding: 4px 3px;
    text-align: center;
    font-size: 0.55em;
    font-weight: 600;
    border-radius: 4px;
    color: #6c757d;
}

.mobile-tab.active {
    background: #667eea;
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.mobile-content-scroll {
    height: 370px;
    overflow-y: auto;
    padding: 0 4px 4px 4px;
}

.mobile-content-scroll::-webkit-scrollbar {
    width: 2px;
}

.mobile-content-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-content-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1px;
}

.mobile-team-card {
    background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.team-label {
    font-size: 0.55em;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.team-select {
    background: white;
    padding: 4px 5px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 0.6em;
    font-weight: 500;
    color: #212529;
}

.mobile-section-header {
    font-size: 0.6em;
    font-weight: 700;
    color: #212529;
    margin: 6px 0 4px 0;
    display: flex;
    align-items: center;
    gap: 3px;
}

.section-icon {
    font-size: 1.1em;
}

.section-count {
    background: #667eea;
    color: white;
    font-size: 0.8em;
    padding: 1px 4px;
    border-radius: 6px;
    font-weight: 600;
}

.mobile-match-card {
    background: white;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    display: flex;
    gap: 4px;
    align-items: center;
    transition: all 0.2s;
}

.mobile-match-card:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5px);
}

.mobile-match-card.played {
    opacity: 0.65;
}

.match-teams {
    flex-grow: 1;
}

.team-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 0;
}

.team-name {
    font-size: 0.6em;
    font-weight: 500;
    color: #212529;
}

.team-name.highlighted {
    font-weight: 700;
    color: #667eea;
}

.score {
    font-size: 0.7em;
    font-weight: 700;
    color: #667eea;
    min-width: 12px;
    text-align: right;
}

.vs-text {
    text-align: center;
    font-size: 0.45em;
    color: #6c757d;
    margin: 0.5px 0;
    font-weight: 600;
    text-transform: uppercase;
}

.match-info {
    flex-shrink: 0;
    text-align: right;
    font-size: 0.55em;
    color: #6c757d;
    line-height: 1.5;
    font-weight: 500;
}
