/* style/saas.css */

/* Ensure the HTML and body take up full height */
html,
body {
    height: 100%;
    margin: 0;
    /* Remove default margin */
    font-family: 'Open Sans';
}

/* -------------------- FLEXBOX LAYOUT FIX -------------------- */
body {
    display: flex;
    /* Turn body into a flex container */
    flex-direction: column;
    /* Stack children vertically */
    min-height: 100vh;
    /* Ensure it covers the full viewport height */
    padding: 0;
}

.banner {
    /* Set positioning to static/relative so Flexbox manages its placement */
    position: relative;
    flex-shrink: 0;
    /* Banner keeps its size (75px) */
    z-index: 1000;
    /* Remove top: 0 and left: 0 */
}

.grid-container {
    /* CRITICAL FIX: Tell the middle section to grow and take all remaining space */
    flex-grow: 1;
    /* Allow the grid content itself to scroll if it overflows */
    overflow-y: auto;

    /* Remove previous height calculations and padding conflicts */
    padding-top: 0 !important;
    height: auto !important;
}

.footer {
    /* Set positioning to static/relative */
    position: relative;
    flex-shrink: 0;
    /* Footer keeps its size (50px) */
    /* Remove bottom: 0 and left: 0 */
}

/* -------------------- RETAIN EXISTING MEDIA QUERIES -------------------- */
/* You should keep the media queries for .grid-container, but ensure you remove the conflicting
    height and position rules from the old fixed layout. */

@media (max-width: 920px) and (min-width: 360px) {
    .grid-container {
        /* On smaller screens, allow scrolling inside the central content area */
        overflow-y: auto;
    }
}

:root {
    --primary: #0052cc;
    /* Tech Blue */
    --primary-dark: #0747a6;
    --secondary: #172b4d;
    /* Navy Slate */
    --accent: #36b37e;
    /* Success Green */
    --bg-body: #ffffff;
    --bg-alt: #f4f5f7;
    /* Light Grey */
    --text-main: #172b4d;
    --text-muted: #6b778c;
    --border: #dfe1e6;
    --radius: 8px;
    --shadow: 0 4px 6px rgba(9, 30, 66, 0.08);
    --banner-bg: #ffebe6;
    /* Light Salmon/Red for CTA banner */
    --banner-text: #974f0c;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo-text {
    font-weight: 800;
    font-size: 22px;
    color: #000;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text span {
    font-weight: 400;
    color: #444;
}

.nav-links {
    display: flex;
    gap: 20px;
    /* ADDED: Vertical alignment to center Login button with Get Started button */
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ADDED: New full-width banner style */
.cta-banner {
    background: #2e82ff36;
    color: #9f9d9c;
    text-align: center;
    padding: 12px 5%;
    font-size: 16px;
    font-weight: 600;
}

.cta-banner a {
    color: var(--primary-dark);
    text-decoration: underline;
    margin-left: 8px;
    transition: color 0.2s;
}

.cta-banner a:hover {
    color: var(--primary);
}


/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    background: radial-gradient(circle at 50% 50%, #fff 0%, #f4f5f7 100%);
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- BUTTONS --- */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    text-decoration: none;

    /* --- FIXES FOR CONTACT LINK --- */
    box-sizing: border-box;
    /* Includes padding in the width calculation */
    display: inline-block;
    /* Ensures it respects dimensions properly */
    text-align: center;
    /* Centers the text inside the link */

    /* --- ADD THESE TO MATCH BUTTONS EXACTLY --- */
    font-family: inherit;
    /* Prevents link from using different font-family */
    font-size: 16px;
    /* Forces both to the same size (match your button size) */
    line-height: 1.2;
    /* Standardizes the vertical height of the text */
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: white;
    border-color: var(--border);
    color: var(--secondary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- FEATURES GRID (Bento Style) --- */
.features {
    padding: 80px 5%;
    background: var(--bg-body);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 10px;
}

/* ADDED: Logo Carousel Styling */
.logo-carousel-container {
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto 60px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    opacity: 0.8;
}

.logo-carousel .item img {
    max-height: 40px;
    width: auto !important;
    display: block;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.logo-carousel .item img:hover {
    filter: grayscale(0%);
}

/* Owl Carousel custom navigation (if needed, but default is often fine) */
.owl-theme .owl-nav {
    margin-top: 10px;
    text-align: center;
    display: none;
    /* Hide navigation buttons */
}

.owl-theme .owl-dots {
    text-align: center;
    margin-top: 20px;
}


.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: var(--bg-alt);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.bento-card.wide {
    grid-column: span 2;
    background: var(--secondary);
    color: white;
}

.bento-card.wide h3,
.bento-card.wide p {
    color: white;
}

.bento-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 82, 204, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.wide .icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* --- PRICING --- */
.pricing {
    padding: 80px 5%;
    background: var(--bg-alt);
}

.pricing-grid {
    /* CHANGED: Swapped 3-column with 4-column layout for desktop */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* FOR DESKTOP: Display all 4 cards side-by-side */
    gap: 30px;
    max-width: 1200px;
    /* Increased max-width to accommodate 4 columns better */
    margin: 0 auto;
}


.price-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid transparent;

    /* --- NEW ALIGNMENT RULES --- */
    display: flex;
    /* Turn the card into a flex container */
    flex-direction: column;
    /* Stack content vertically */
    height: 100%;
    /* Ensure the card fills the grid height */
    box-sizing: border-box;
    /* Ensure padding doesn't affect height calc */
}

/* --- FORCE BUTTON TO BOTTOM --- */
/* This targets the button (or link) inside the price card */
.price-card button,
.price-card a.btn {
    margin-top: auto;
    /* This magic rule pushes the button to the bottom */
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.price-card.featured::after {
    content: "RECOMMENDED";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
    margin: 20px 0;
}

.price-amount span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.check-list li {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    color: var(--text-main);
}

.check-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 800;
}

/* --- MODAL FIXES --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 30, 66, 0.7);
    z-index: 2000;
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.modal-close {
    cursor: pointer;
    font-size: 24px;
    color: var(--text-muted);
    line-height: 1;
}

#checkout-element {
    padding: 20px;
    min-height: 350px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {

    /* Adjusted breakpoint for 4-column layout */
    /* On medium screens, switch from 4 to 2 columns */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.wide {
        grid-column: span 1;
    }

    /* REMOVED: Pricing grid changes for mobile are now handled in the 1083px block below for the carousel behavior */
}

/* --- MOBILE CAROUSEL BEHAVIOR (for < 1084px) --- */
@media (max-width: 1083px) {
    .scroll-indicators {
        /* CHANGED: Added margin-top to separate from carousel dots */
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
        /* Adjusted spacing */
        margin-bottom: 40px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background-color: #ddd;
        border-radius: 50%;
        transition: background-color 0.3s;
    }

    .dot.active {
        background-color: var(--primary);
        transform: scale(1.2);
    }

    .pricing-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        /* CHANGE 1: Use specific padding to stick card to the left */
        padding: 40px 20px;

        /* CHANGE 2: Define the "snap" offset */
        scroll-padding-left: 20px;

        gap: 15px;
        /* Reduce gap slightly for mobile */

        align-items: stretch;
        max-width: 100%;
        margin: 0;
        scrollbar-width: none;

        /* ADDED: Override 4-column layout for mobile */
        grid-template-columns: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .price-card {
        /* CHANGE 3: make it slightly narrower to show more of the next card */
        flex: 0 0 85%;
        width: 85%;

        /* CHANGE 4: Snap to START (Left), not CENTER */
        scroll-snap-align: start;

        margin: 0;
    }

    /* Force a margin on the last item so it doesn't get cut off */
    .pricing-grid::after {
        content: '';
        flex: 0 0 20px;
    }

    /* Mobile styles for featured card */
    .price-card.featured {
        transform: none;
        z-index: 1;
    }

    .price-card.featured::after {
        top: -12px;
    }
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    transition: background-color 0.3s;

    /* ADD THIS: */
    cursor: pointer;
}

/* --- FIX FOR SEAMLESS, CONTINUOUS LOGO SCROLL --- */

/* 1. Define the continuous scrolling animation */
@keyframes continuousScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        /* Move exactly half the distance to ensure seamless loop */
        transform: translate3d(-50%, 0, 0);
    }
}

/* 2. Apply the animation to the Owl Stage and force Flexbox layout */
.logo-carousel .owl-stage {
    /* CRITICAL FIX: Use flexbox to force items onto one line */
    display: flex;
    white-space: nowrap;
    /* Prevent any wrapping */

    /* Animation Properties */
    animation-name: continuousScroll;
    animation-duration: 30s;
    /* Adjust this value (e.g., 15s is fast, 40s is slow) */
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;

    /* Ensure the stage is wide enough for the animation to work */
    width: 200% !important;

    /* IMPORTANT: Override potential backface visibility issues */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.logo-carousel .owl-stage:hover {
    animation-play-state: paused;
}

/* 3. Ensure each item acts as a single, inline block */
.logo-carousel .owl-item {
    /* CRITICAL FIX: Prevent the items from taking up a full row height and allow them to shrink/grow based on content */
    float: none !important;
    display: inline-flex;
    /* Use inline-flex for better centering */
    align-items: center;
    /* Center the logo vertically */
    justify-content: center;
    /* Center the logo horizontally */

    /* The width calculation must be based on a 200% wide stage */
    /* Example: If you show 7 items, 100/7 = 14.28%. Since the stage is 200%, the item width is 14.28% / 2 = 7.14% */
    width: 7.14% !important;
    /* Set a percentage width based on your desired visible item count (7 items) */

    /* Override margin to prevent stacking */
    margin-right: 10px;
    /* Keep margin */
}

/* --- PERSONA SECTION --- */
.persona-section {
    padding: 80px 5%;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 10px;
}

:root {
    --card-width: 800px;
}

.persona-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* Keep this */
    scroll-behavior: smooth;
    /* Add this */
    gap: 20px;
}

.persona-slide {
    scroll-snap-align: center;
    /* Keeps card centered when scrolling stops */
}

.persona-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    /* Scrollable on mobile */
    padding: 10px 5%;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-pill {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.nav-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.persona-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 5%;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.persona-carousel::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar Chrome/Safari */

.persona-slide {
    flex: 0 0 auto;
    width: var(--card-width);
    scroll-snap-align: center;
}

.persona-card-v2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Image on left, text on right */
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    min-height: 400px;
}

/* Arrow Styling */
.carousel-arrow {
    position: absolute;
    top: 50%;
    /* Adjusted for card center */
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

/* Hide arrows on mobile/touch devices where swipe is native */
@media (max-width: 1024px) {
    .carousel-arrow {
        display: none;
    }
}

.persona-image-wrapper {
    background-color: #f0f2f5;
    /* Matches the placeholder color */
    position: relative;
    overflow: hidden;
}

/* Optional: Add a subtle fade-in effect when the image loads */
.persona-img-placeholder {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* This targets images that have finished loading */
.persona-img-placeholder[src] {
    opacity: 1;
}

/* --- FEATURE ROWS (Zig-Zag Layout) --- */
.feature-rows {
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 0 5%;
}

/* Row 2 (Even): Reverse the order (Image Left, Text Right) */
.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-text p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
}

.feature-image {
    flex: 1;
    background: var(--bg-alt);
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-image .placeholder-text {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 600;
    opacity: 0.5;
}

@media (max-width: 900px) {

    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
        text-align: center;
    }

    .feature-image {
        width: 100%;
        height: 250px;
    }

    .feature-text h3 {
        font-size: 28px;
    }
}

.persona-image-wrapper {
    background: #f0f2f5;
    /* Light grey placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
}

.persona-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.persona-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.persona-content h4 {
    font-size: 24px;
    margin: 0 0 15px;
    color: var(--secondary);
}

.persona-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 1024px) {
    :root {
        --card-width: 90%;
    }

    .persona-card-v2 {
        grid-template-columns: 1fr;
    }

    /* Stack on tablet/mobile */
    .persona-image-wrapper {
        height: 250px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 480px) {
    :root {
        --card-width: 100%;
    }

    .persona-content {
        padding: 25px;
    }

    .persona-nav {
        justify-content: flex-start;
    }
}
}

/* Mobile Tweak */
@media (max-width: 480px) {
    .persona-section {
        padding: 40px 20px;
    }

    .persona-card {
        text-align: center;
    }
}

.logo-carousel-container {
    padding: 40px 0;
    background: #fff;
    overflow: hidden;
}

.splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    /* This allows the slide to be as wide as the logo naturally is */
    width: auto !important;
    padding: 0 30px;
    /* This creates the "spacing" between different sized boxes */
}

.splide__slide img {
    height: 45px;
    /* Set your preferred height */
    width: auto;
    /* Respect the width of the specific logo */
    display: block;
    filter: grayscale(100%);
    /* Wholesome SaaS look: grayscale until hover */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.splide__slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- PRODUCT VIDEO TOUR SECTION --- */
.product-video-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    cursor: pointer;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 82, 204, 0.1), rgba(23, 43, 77, 0.6)), url('../imgs/video_thumbnail.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.video-container:hover .video-placeholder {
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 43, 77, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s ease;
}

.video-container:hover .video-overlay {
    background: rgba(23, 43, 77, 0.2);
}

.play-button-outer {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 20px;
}

.play-button-outer i {
    font-size: 28px;
    color: #fff;
    margin-left: 6px; /* Offset for centering triangle */
}

.video-container:hover .play-button-outer {
    transform: scale(1.15);
    background: var(--primary-dark);
    box-shadow: 0 12px 28px rgba(0, 82, 204, 0.6);
}

.video-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(23, 43, 77, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-badge i {
    color: #ff3333;
    font-size: 14px;
}

.video-duration {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.video-caption {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-top: 10px;
}

/* Responsive Iframe styling for when they update with real YouTube embed */
.responsive-iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .product-video-section {
        margin-top: 60px;
        padding-top: 40px;
    }
    .play-button-outer {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    .play-button-outer i {
        font-size: 20px;
        margin-left: 4px;
    }
    .video-caption {
        font-size: 15px;
    }
}