/* Custom styles for MUNISS AI matching pb.munissfoundation.org */

:root {
    /* Vibrant color scheme based on the provided reference image */
    --muniss-white: #ffffff;          /* White background */
    --muniss-light-gray: #f8f9fa;     /* Light gray for card headers */
    --muniss-pink: #FF3D9A;           /* Vibrant hot pink as in the reference */
    --muniss-purple: #7E30E1;         /* Vivid purple */
    --muniss-purple-light: #9544E5;   /* Medium purple for mid gradient */
    --muniss-purple-bg: #F4EEFF;      /* Very light lavender background (slightly more vibrant) */
    --muniss-orange: #FF9254;         /* Vibrant orange for "View Demo" button */  
    --muniss-orange-light: #FFAA54;   /* Lighter orange for hover states */
    --muniss-yellow: #FFC107;         /* Gold/yellow for accents and badges */
    --muniss-text-dark: #212529;      /* Dark gray for main text - not pure black */
    --muniss-text-black: #000000;     /* Pure black for headings */
    --muniss-danger: #dc3545;         /* Refined red for danger/deactivate */
    --muniss-success: #16C172;        /* Brighter green for success */
    --muniss-warning: #FF8C00;        /* Bright dark orange for warnings */
    --muniss-border: #dee2e6;         /* Border color */
    --muniss-hover-bg: #f1f2f9;       /* Hover background color */
    --muniss-badge-blue: #3B82F6;     /* Bright blue for badges like "Plagiarism <10%" */
    --muniss-badge-green: #10B981;    /* Bright green for badges like "AI Detection <10%" */
    
    /* Shadow variables for consistent use */
    
    /* Deal button gradient variables */
    --deal-gradient-start: #FF9254;  /* Orange starting color from the reference */
    --deal-gradient-end: #FF6D00;    /* Darker orange ending color */
    --shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);
    --shadow-md: 0 .5rem 1rem rgba(0, 0, 0, .10);
    --shadow-lg: 0 1rem 2rem rgba(0, 0, 0, .15);
}

/* Apply the light theme to the whole site */
body {
    background-color: var(--muniss-white);
    color: var(--muniss-text-black);
}

/* Hero section with professional styling */
.hero-section {
    background: linear-gradient(135deg, #FF3D9A 0%, #7E30E1 100%);
    position: relative;
    padding: 80px 0 120px;
    color: white;
    margin-bottom: 100px;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 80px 80px;
    opacity: 0.3;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
    clip-path: ellipse(70% 50% at 50% 50%);
}

.hero-section h1, 
.hero-section h2, 
.hero-section p,
.hero-section .lead,
.hero-section span:not(.badge) {
    color: white !important;
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-section .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-section .lead {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 90%;
}

.hero-section .badge {
    background-color: var(--muniss-yellow);
    color: var(--muniss-text-dark) !important;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    margin-right: 10px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}

/* Hero image styling */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-bg-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    top: -150px;
    right: -150px;
}

.hero-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 30%;
    animation-duration: 10s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation-duration: 8s;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 30%;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 20%;
    transform: rotate(45deg);
    animation-duration: 12s;
}

/* CTA Buttons */
.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.btn-hero-primary {
    background: var(--muniss-orange);
    color: white !important;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 107, 24, 0.4);
    transition: all 0.3s ease;
    border: none;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #FF9254 0%, #FF7A54 100%);
}

.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 24, 0.5);
}

.btn-hero-primary:hover::after {
    transform: translateX(100%);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white !important;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

/* Ensure all text is dark black by default */
p, h1, h2, h3, h4, h5, h6, span, div, a, li, td, th, label, input, textarea, select, option, button, .btn, small {
    color: var(--muniss-text-black);
}

/* Heading styles similar to competitor */
h1, h2, h3 {
    color: var(--muniss-text-black);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Overrides for Bootstrap text classes */
.text-muted, .text-secondary, .text-gray, .text-black-50, .text-white-50 {
    color: var(--muniss-text-black) !important;
}

/* Make sure small text is also black */
small, .small, .form-text {
    color: var(--muniss-text-black);
}

/* Force dropdown items to be black */
.dropdown-item, .dropdown-menu {
    color: var(--muniss-text-black);
}

/* Force help text to be black */
.help-text, .form-help-text {
    color: var(--muniss-text-black);
}

/* Navbar styling */
.navbar {
    background-color: var(--muniss-white) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Pink-to-purple header banner styling */
.header-banner {
    background: linear-gradient(90deg, #FF3D9A 0%, #7E30E1 100%);
    color: white !important;
    padding: 8px 0;
}

.header-banner * {
    color: white !important;
}

.limited-offer {
    background-color: var(--muniss-yellow);
    color: black !important;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    margin-right: 15px;
}

.limited-offer i {
    color: black !important;
    margin-right: 5px;
}

.navbar-brand {
    color: var(--muniss-purple);
    font-weight: 700;
    font-size: 1.4rem;
}

.nav-link {
    color: var(--muniss-text-black);
    font-weight: 500;
    margin: 0 5px;
}

.nav-link:hover {
    color: var(--muniss-purple);
}

/* Footer styling */
.footer {
    background-color: var(--muniss-light-gray) !important;
    color: var(--muniss-text-black);
}

/* Paper title styling */
.paper-title {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    color: var(--muniss-text-black);
}

/* Figure styling */
.figure-caption {
    font-style: italic;
    color: var(--muniss-text-black);
}

/* Card styling */
.card {
    border: 1px solid var(--muniss-border);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    background-color: var(--muniss-white);
}

.card-header {
    border-bottom: 1px solid var(--muniss-border);
    background-color: var(--muniss-white);
    color: var(--muniss-text-black);
    font-weight: 600;
    padding: 15px 20px;
}

/* Form styling */
.form-control, .form-select {
    background-color: var(--muniss-white);
    border-color: var(--muniss-border);
    color: var(--muniss-text-black);
}

.form-control:focus, .form-select:focus {
    border-color: var(--muniss-purple);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
    background-color: var(--muniss-white);
    color: var(--muniss-text-black);
}

.form-label {
    color: var(--muniss-text-black);
    font-weight: 500;
}

/* Button styling */
.btn-primary {
    background: linear-gradient(45deg, #FF9254 0%, #FF7A54 100%);
    border-color: #FF9254;
    color: white !important;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(45deg, #FF8344 0%, #FF6A44 100%);
    border-color: #FF9254;
    box-shadow: 0 0 15px rgba(255, 146, 84, 0.4);
    color: white !important;
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--muniss-success);
    border-color: var(--muniss-success);
    color: white !important;
}

.btn-danger {
    background-color: var(--muniss-danger);
    border-color: var(--muniss-danger);
    color: white !important;
}

/* Status indicators */
.badge-success, .text-success {
    background-color: var(--muniss-success) !important;
    color: white !important;
}

.badge-danger, .text-danger {
    background-color: var(--muniss-danger) !important;
    color: white !important;
}

/* Tables */
.table {
    color: var(--muniss-text-black);
}

.table thead {
    background-color: var(--muniss-light-gray);
}

.table tbody tr:hover {
    background-color: var(--muniss-hover-bg);
}

/* Alerts */
.alert-danger {
    background-color: rgba(229, 62, 62, 0.1);
    border-color: var(--muniss-danger);
    color: var(--muniss-danger);
}

.alert-success {
    background-color: rgba(56, 161, 105, 0.1);
    border-color: var(--muniss-success);
    color: var(--muniss-success);
}

/* Loading spinner animation enhancement */
.spinner-border {
    border-width: 0.25em;
    color: var(--muniss-purple);
}

/* Utility classes */
.text-justify {
    text-align: justify;
}

/* Progress bar styling */
.progress-bar {
    background-color: var(--muniss-purple);
}

/* Deal button styling */
.btn-deal {
    background: linear-gradient(45deg, var(--deal-gradient-start), var(--deal-gradient-end));
    color: white !important;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-deal:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white !important;
}

.btn-deal i {
    color: white !important;
}

/* Pricing plan button styling */
.pricing-button {
    display: block;
    width: 100%;
    border-radius: 50px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 45px;
    box-sizing: content-box;
    line-height: 1.2;
}

.pricing-get-started {
    background-color: white;
    color: var(--muniss-purple) !important;
    border: 1px solid var(--muniss-purple);
}

.pricing-get-started:hover {
    background-color: var(--muniss-purple-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-get-deal {
    background: linear-gradient(45deg, var(--deal-gradient-start), var(--deal-gradient-end));
    color: white !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.pricing-get-deal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.4);
}

.pricing-get-deal i,
.pricing-get-deal span {
    color: white !important;
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pulse-glow {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 193, 7, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.7);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 193, 7, 0.4);
    }
}

@keyframes pulse-glow-strong {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(255, 193, 7, 0.3);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
        transform: scale(1);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes progress-bar-stripes {
    0% { background-position-x: 1rem; }
}

@keyframes border-pulse {
    0% {
        border-color: var(--muniss-purple);
    }
    50% {
        border-color: var(--muniss-pink);
    }
    100% {
        border-color: var(--muniss-purple);
    }
}

@keyframes shine-effect {
    0% {
        background-position: -100px;
    }
    100% {
        background-position: 200px;
    }
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* Apply animations to elements */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.pulse-glow-strong {
    animation: pulse-glow-strong 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Feature card styles */
.feature-card {
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 15px;
    position: relative;
    border: 2px solid transparent;
}

.feature-card-locked {
    border-color: #6c757d;
}

.feature-card-unlocked {
    border-color: var(--muniss-purple);
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.feature-card-header {
    background: linear-gradient(135deg, var(--muniss-purple), var(--muniss-pink));
    color: white;
    padding: 1rem;
}

.feature-icon-pulse {
    animation: icon-pulse 2s infinite;
}

.lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-locked {
    filter: grayscale(30%);
}

.feature-card-locked:hover .lock-overlay {
    opacity: 1;
    animation: lock-pulse 1.5s infinite;
}

.badge-glow {
    position: relative;
    animation: badge-glow 2s infinite;
}

/* Button animations */
.select-feature-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.select-feature-btn:after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0) 100%);
    transition: all 0.6s ease;
}

.select-feature-btn:hover:after {
    left: 100%;
}

@keyframes lock-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes badge-glow {
    0% {
        box-shadow: 0 0 5px #28a745;
    }
    50% {
        box-shadow: 0 0 20px #28a745;
    }
    100% {
        box-shadow: 0 0 5px #28a745;
    }
}

@keyframes icon-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Staggered animations for children */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.25s; }
.feature-card:nth-child(3) { animation-delay: 0.4s; }
.feature-card:nth-child(4) { animation-delay: 0.55s; }

/* Hero section enhancements */
.hero-image-container {
    position: relative;
    perspective: 1000px;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

.btn-primary.glow {
    box-shadow: 0 0 15px rgba(255, 130, 28, 0.5);
    animation: pulse 2s infinite;
}

/* Feature card enhancements */
.feature-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF3D9A 0%, #7E30E1 100%);
    box-shadow: 0 10px 20px rgba(255, 61, 154, 0.25);
    transition: all 0.3s ease;
}

.feature-icon-container i {
    font-size: 2rem;
    color: white;
}

.feature-card:hover .feature-icon-container {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(98, 0, 238, 0.3);
}

/* Tutorial Page Styling */
.tutorial-sidebar {
    position: sticky;
    top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.tutorial-sidebar .card-header {
    background: linear-gradient(45deg, var(--muniss-pink), var(--muniss-purple));
    color: white !important;
    font-weight: 600;
    border: none;
    padding: 15px;
}

.tutorial-sidebar .card-header h5 {
    color: white !important;
    margin: 0;
}

.tutorial-sidebar .list-group-item {
    border-left: 0;
    border-right: 0;
    padding: 12px 20px;
    color: var(--muniss-text-black);
    font-weight: 500;
    transition: all 0.2s ease;
}

.tutorial-sidebar .list-group-item:first-child {
    border-top: 0;
}

.tutorial-sidebar .list-group-item:hover {
    background-color: var(--muniss-hover-bg);
    color: var(--muniss-purple);
}

.tutorial-sidebar .list-group-item.active {
    background: linear-gradient(45deg, var(--muniss-pink), var(--muniss-purple));
    border-color: transparent;
    color: white;
}

.tutorial-title {
    color: var(--muniss-purple);
    border-bottom: 2px solid var(--muniss-pink);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.tutorial-section {
    animation: fadeIn 0.8s ease-out forwards;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--muniss-border);
}

.tutorial-section:nth-child(1) { animation-delay: 0.1s; }
.tutorial-section:nth-child(2) { animation-delay: 0.2s; }
.tutorial-section:nth-child(3) { animation-delay: 0.3s; }
.tutorial-section:nth-child(4) { animation-delay: 0.4s; }
.tutorial-section:nth-child(5) { animation-delay: 0.5s; }
.tutorial-section:nth-child(6) { animation-delay: 0.6s; }
.tutorial-section:nth-child(7) { animation-delay: 0.7s; }

.tutorial-section:last-child {
    border-bottom: none;
}

.bg-gradient-primary {
    background: linear-gradient(45deg, var(--muniss-pink), var(--muniss-purple));
    color: white !important;
}

.bg-gradient-primary * {
    color: white !important;
}

/* Tutorial Video Styling */
.video-thumbnail {
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tutorial-video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button i {
    color: var(--muniss-purple);
    font-size: 1.5rem;
    margin-left: 4px; /* Slight offset for play icon */
}

.tutorial-video-card:hover .play-button {
    background: linear-gradient(45deg, var(--muniss-pink), var(--muniss-purple));
    transform: translate(-50%, -50%) scale(1.1);
}

.tutorial-video-card:hover .play-button i {
    color: white;
}

.video-thumbnail-small {
    position: relative;
    width: 60px;
    height: 34px;
    border-radius: 4px;
    overflow: hidden;
}

.video-thumbnail-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.play-button-small i {
    color: var(--muniss-purple);
    font-size: 0.7rem;
    margin-left: 2px; /* Slight offset for play icon */
}

.badge.bg-purple {
    background: linear-gradient(45deg, var(--muniss-pink), var(--muniss-purple));
    color: white;
}

/* Video Modal Styling */
.modal-header.bg-gradient-primary {
    border-bottom: none;
}

.modal-body.p-0 video {
    width: 100%;
    border-radius: 0;
    background-color: #000;
}

.video-controls button {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.video-controls button:hover {
    background-color: var(--muniss-hover-bg);
}

.tutorial-video-card {
    transition: all 0.3s ease;
    border: 1px solid var(--muniss-border);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.tutorial-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tutorial-video-card .card-body {
    padding: 1rem;
}

.tutorial-video-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--muniss-text-black);
}

.tutorial-video-card .card-text {
    font-size: 0.9rem;
    color: var(--muniss-text-black);
    margin-bottom: 1rem;
}

/* Card hover effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Pricing card enhancements */
.pricing-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.pricing-card .popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--muniss-yellow);
    color: black;
    font-weight: 600;
    padding: 8px 15px;
    transform: rotate(45deg) translate(25%, -50%);
    width: 150px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Professional badge styling */
.pro-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--muniss-orange) 0%, var(--muniss-yellow) 100%);
    color: black;
    box-shadow: 0 5px 15px rgba(255, 130, 28, 0.3);
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .animate-fade-in,
    .animate-slide-left,
    .animate-slide-right {
        animation-duration: 0.5s;
    }
}
