:root {
    --primary-blue: #007bff;
    --secondary-accent: #00d4ff; /* Teal/Cyan */
    --text-dark: #1a1a1a;
    --text-muted: #555555;
}

.hero-section {
    padding: 80px 0;
    overflow: hidden;
}

.text-primary-accent {
    color: var(--primary-blue);
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.app-badge {
    height: 48px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* Header specific styling */
.custom-nav-link {
    transition: color 0.3s ease;
}

.custom-nav-link:hover {
    color: var(--secondary-accent) !important;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0062cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

/* Footer link styling */
.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.social-links a {
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--secondary-accent) !important;
}

.app-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.hero-image-container {
    position: relative;
}

/* Custom UI Additions */
.clip-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    max-height: 60vh;
    min-height: 420px;
}

.clip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08) !important;
}

.bg-primary-subtle {
    background-color: rgba(0, 123, 255, 0.1) !important;
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
    line-height: 1.4;
}

.feature-list i {
    margin-top: 0.2rem;
}

.max-w-75 {
    max-width: 75%;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Base state for elements that should scale in (like icons) */
.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy effect */
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.parallax-scroll {
    will-change: transform;
}

.how-to-screenshot {
    max-width: 80vw;
    max-height: 60vh;
    transition: transform 0.5s ease;
}

.how-to-screenshot-larger {
    max-width: 80vw;
    max-height: 70vh;
}


.clip-card:hover .how-to-screenshot {
    transform: scale(1.05) translateY(-5px); /* Adds a subtle zoom effect on hover */
}

.py-6 {
    padding-top: 20vh;
!important;
    padding-bottom: 20vh;
!important;
}

.premium-badge {
    position: absolute;
    top: -15px;
    right: -10px;
    background: #ffc107; /* Warning/Gold color */
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    animation: pulse-gold 2s infinite;
    white-space: nowrap;
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

@keyframes pulse-blue {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--primary-blue);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.cta-wrapper {
    position: relative;
    display: inline-block;
}

.cta-subtext {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.navbar .premium-badge {
    top: -10px;
    right: -5px;
    font-size: 0.65rem;
    padding: 2px 8px;
}

/* Styling for the new video player */
/* Enhanced Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px; /* Adjusted for mobile-app feel */
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 12px solid #1a1a1a;
    border-radius: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.video-wrapper::after {
    content: "";
    position: absolute;
    left: -15px; /* Pushes button slightly outside the frame */
    top: 70px;
    width: 3px;
    height: 40px;
    background: #2c2c2c;
    border-radius: 2px 0 0 2px;
}

.video-wrapper:hover {
    transform: scale(1.03) translateY(-5px);
}

.video-wrapper:hover::after {
    box-shadow: 0 0 45px rgba(0, 123, 255, 0.4);
}

/* Play Button Overlay */
.video-overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none; /* Let clicks pass through to the video */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-overlay-play i {
    color: white;
    font-size: 1.5rem;
    margin-left: 5px; /* Visual centering for the triangle */
}

/* Hide play button on hover or when playing (handled via JS or just hover) */
.video-wrapper:hover .video-overlay-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 123, 255, 0.8);
    border-color: var(--primary-blue);
}

/* Video Badge */
.video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.video-badge .pulse-dot {
    height: 6px;
    width: 6px;
    background-color: #ff4d4d;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

.video-player {
    width: 100%;
    border: 4px solid #1a1a1a; /* Thicker "device" border */
    border-radius: 1.5rem;
    display: block;
    object-fit: cover;
}

/* Reset button styles */
.video-overlay-play {
    background: rgba(255, 255, 255, 0.2); /* Your original blur effect */
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Removes the blue flash on mobile */
    z-index: 15; /* Ensure it's above the video */
    pointer-events: auto; /* Explicitly tell mobile to allow taps */
}

/* Hide the button when the video is playing */
.video-wrapper.is-playing .video-overlay-play {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Crucial: allows clicks to hit the video controls now */
}