/* ===================================
   TechLaunch Pro - Custom Styles
   Modern Landing Page Template
   =================================== */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);

    --primary-color: #667eea;
    --accent-color: #764ba2;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] {
    --text-dark: #e2e8f0;
    --text-light: #a0aec0;
    --border-color: #2d3748;
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
}

/* ===================================
   Global Styles
   =================================== */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Scroll Progress Indicator
   =================================== */

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 10200;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ===================================
   Navbar Enhancements
   =================================== */

.rsl-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

[data-theme="dark"] .rsl-navbar {
    background: rgba(26, 32, 44, 0.95);
}

.rsl-navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.brand-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.brand-accent {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-toggle-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.theme-toggle-btn:hover {
    transform: rotate(20deg);
}

/* ===================================
   Section Styles
   =================================== */

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    background: var(--primary-gradient);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-image {
    animation: fadeInUp 0.8s ease;
}

.floating-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card img {
    width: 100%;
    height: auto;
    display: block;
}

.live-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
    color: #1a1a1a;
}

.pulse {
    color: #ef4444;
    animation: pulse 2s ease-in-out infinite;
}

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

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

.hero-content {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.pulse-btn {
    position: relative;
    animation: pulseScale 2s ease-in-out infinite;
    box-shadow: 0 8px 30px rgba(118, 75, 162, 0.5), 0 0 0 0 rgba(102, 126, 234, 0.7);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #5a4ba2 0%, #4a2d7a 100%) !important;
    border: none !important;
    font-weight: 700 !important;
}

.pulse-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #667eea, #764ba2, #667eea);
    background-size: 200% 200%;
    border-radius: inherit;
    z-index: -1;
    animation: gradientShift 3s ease infinite, pulseRing 2s ease-in-out infinite;
    opacity: 0.6;
    filter: blur(8px);
}

.pulse-btn::after {
    content: '✨';
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
    z-index: 1;
}

.pulse-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(118, 75, 162, 0.7), 0 0 0 8px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, #4a3d8f 0%, #3a2060 100%) !important;
}

.pulse-btn:hover::before {
    animation: gradientShift 1.5s ease infinite, pulseRing 1s ease-in-out infinite;
}

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

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

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

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.5;
        transform: scale(1.2) rotate(90deg);
    }
    50% {
        opacity: 1;
        transform: scale(0.8) rotate(180deg);
    }
    75% {
        opacity: 0.7;
        transform: scale(1.1) rotate(270deg);
    }
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.trust-badges i {
    color: #4ade80;
}

.hero-stats {
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
    text-align: center;
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.05);
}

[data-theme="dark"] .stat-card {
    background: rgba(45, 55, 72, 0.95);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-icon i {
    color: var(--primary-color);
}

[data-theme="dark"] .stat-icon i {
    color: #8b95ff;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================
   Features Section
   =================================== */

.features-section {
    background: linear-gradient(to bottom, white 0%, #f7fafc 100%);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .features-section {
    background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    z-index: 2;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

[data-theme="dark"] .feature-card {
    background: var(--bg-secondary);
    border-color: #4a5568;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-card .inlay-alert {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    padding: 0.5rem;
}

/* Keep inlay alerts consistent in both light and dark mode - light backgrounds with dark text */
.feature-card .inlay-alert.alert-info {
    background-color: #d1ecf1 !important;
    border-color: #bee5eb !important;
    color: #1a1a1a !important;
}

.feature-card .inlay-alert.alert-success {
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
    color: #1a1a1a !important;
}

.feature-card .inlay-alert.alert-warning {
    background-color: #fff3cd !important;
    border-color: #ffeaa7 !important;
    color: #1a1a1a !important;
}

.feature-card .inlay-alert i {
    color: #1a1a1a !important;
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
    padding: 4rem 0;
    position: relative;
    overflow: visible;
}

.faq-section::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50% 40% 60% 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.18) 0%, rgba(102, 126, 234, 0.08) 50%, transparent 100%);
    top: -250px;
    right: -200px;
    z-index: 0;
    animation: blob 18s ease-in-out infinite;
    filter: blur(30px);
}

.faq-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 60% 50% 40% 50%;
    background: radial-gradient(circle, rgba(245, 87, 108, 0.15) 0%, rgba(240, 147, 251, 0.08) 50%, transparent 100%);
    bottom: -200px;
    left: -150px;
    z-index: 0;
    animation: blob 22s ease-in-out infinite reverse;
    filter: blur(25px);
}

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50% 40% 60% 50%;
    }
    20% {
        transform: translate(-400px, 200px) scale(1.15) rotate(72deg);
        border-radius: 40% 60% 50% 40%;
    }
    40% {
        transform: translate(600px, -150px) scale(0.85) rotate(144deg);
        border-radius: 60% 40% 60% 40%;
    }
    60% {
        transform: translate(-300px, -200px) scale(1.1) rotate(216deg);
        border-radius: 50% 60% 40% 60%;
    }
    80% {
        transform: translate(500px, 100px) scale(0.9) rotate(288deg);
        border-radius: 40% 50% 60% 50%;
    }
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-section .accordion-item {
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.faq-section .accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.faq-section .accordion-item:hover {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    transform: translateX(8px);
    border-color: rgba(102, 126, 234, 0.3);
}

.faq-section .accordion-item:hover::before {
    opacity: 1;
}

.faq-section .accordion-title {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-section .accordion-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.faq-section .accordion-title:hover::after {
    left: 100%;
}

.faq-section .accordion-title i {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 40px;
    transition: transform 0.3s ease;
}

.faq-section .accordion-title:hover i {
    transform: scale(1.2) rotate(5deg);
}

.faq-section .accordion-title .text-content {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    flex-grow: 1;
    letter-spacing: -0.02em;
}

.faq-section .accordion-title[aria-expanded="true"] {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.faq-section .accordion-title[aria-expanded="true"]::after {
    display: none;
}

.faq-section .accordion-title[aria-expanded="true"] i {
    -webkit-text-fill-color: white;
    transform: scale(1.15) rotate(360deg);
    animation: pulse 2s ease-in-out infinite;
}

.faq-section .accordion-title[aria-expanded="true"] .text-content {
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1.15) rotate(360deg);
    }
    50% {
        transform: scale(1.25) rotate(360deg);
    }
}

.faq-section .accordion-content {
    background: white;
    padding: 0 2rem 2rem 5.5rem;
}

.faq-section .accordion-content p {
    color: var(--text-light);
    line-height: 2;
    margin: 0;
    font-size: 1.05rem;
    border-left: 3px solid rgba(102, 126, 234, 0.2);
    padding-left: 1.5rem;
}

/* Dark Mode */
[data-theme="dark"] .faq-section::before {
    background: radial-gradient(circle, rgba(139, 149, 255, 0.22) 0%, rgba(139, 149, 255, 0.12) 50%, transparent 100%);
}

[data-theme="dark"] .faq-section::after {
    background: radial-gradient(circle, rgba(245, 87, 108, 0.18) 0%, rgba(240, 147, 251, 0.10) 50%, transparent 100%);
}

[data-theme="dark"] .faq-section .accordion-title {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

[data-theme="dark"] .faq-section .accordion-title .text-content {
    color: #e2e8f0;
}

[data-theme="dark"] .faq-section .accordion-title[aria-expanded="true"] {
    background: var(--primary-gradient);
}

[data-theme="dark"] .faq-section .accordion-content {
    background: #2d3748;
}

[data-theme="dark"] .faq-section .accordion-content p {
    color: #a0aec0;
    border-left-color: rgba(139, 149, 255, 0.3);
}

/* ===================================
   Sidebar Section
   =================================== */

.sidebar-section {
    background: white;
    padding: 4rem 0;
}

[data-theme="dark"] .sidebar-section {
    background: var(--bg-primary);
}

.sidebar-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .sidebar-layout {
        grid-template-columns: 1fr;
    }
}

.sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    color: white;
}

[data-theme="dark"] .sidebar-card {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.sidebar-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
}

.sidebar-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.sidebar-card > p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.sidebar-stats {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.sidebar-stats li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.sidebar-stats li:last-child {
    border-bottom: none;
}

.sidebar-stats i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.sidebar-card .btn {
    margin-top: 1rem;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
}

.sidebar-card .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.main-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.main-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.main-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ===================================
   Showcase Carousel Section
   =================================== */

.showcase-section {
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* Dark mode - keep the darker purple gradient */
[data-theme="dark"] .showcase-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.showcase-section .section-title,
.showcase-section .section-subtitle {
    color: #1a1a1a;
    text-shadow: none;
    font-weight: 800;
}

/* Dark mode - keep same dark text */
[data-theme="dark"] .showcase-section .section-title,
[data-theme="dark"] .showcase-section .section-subtitle {
    color: #1a1a1a;
    text-shadow: none;
    font-weight: 800;
}

.showcase-section .container {
    position: relative;
    z-index: 1;
}

.showcase-section .carousel-slide {
    position: relative;
}

.showcase-section .carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

/* Mobile: Caption below carousel */
.showcase-section .carousel-caption {
    position: static;
    background: transparent;
    padding: 1.5rem 0;
    color: #1a1a1a;
    border-radius: 0;
}

.showcase-section .carousel-caption h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.showcase-section .carousel-caption p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.85;
    color: #333;
}

/* Dark mode - adjust caption colors for mobile */
[data-theme="dark"] .showcase-section .carousel-caption h3 {
    color: #e0e0e0;
}

[data-theme="dark"] .showcase-section .carousel-caption p {
    color: #b0b0b0;
}

/* MD and above: Overlay caption on image */
@media (min-width: 768px) {
    .showcase-section .carousel-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
        padding: 2rem;
        color: white;
        border-radius: 0 0 12px 12px;
    }

    .showcase-section .carousel-caption h3 {
        font-size: 1.75rem;
        color: white;
    }

    .showcase-section .carousel-caption p {
        font-size: 1.05rem;
        color: white;
        opacity: 0.95;
    }

    /* Dark mode caption same as light mode on desktop */
    [data-theme="dark"] .showcase-section .carousel-caption h3,
    [data-theme="dark"] .showcase-section .carousel-caption p {
        color: white;
    }
}

.showcase-section .slider-indicator {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.showcase-section .slider-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.showcase-section .slider-indicator.active {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

/* ===================================
   Demo Section
   =================================== */

.demo-section {
    background: white;
}

[data-theme="dark"] .demo-section {
    background: var(--bg-primary);
}

.demo-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .demo-sidebar-layout {
        grid-template-columns: 1fr;
    }
}

.demo-code {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.code-header {
    background: #0f172a;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #334155;
}

.code-title {
    color: #94a3b8;
    font-weight: 600;
}

.demo-code pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.demo-code code {
    color: #e2e8f0;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-success {
    color: #4ade80;
}

.code-info {
    color: #60a5fa;
}

.code-comment {
    color: #94a3b8;
}

.demo-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-preview h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.demo-preview p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.feature-list i {
    color: #4ade80;
    margin-right: 0.75rem;
}

/* ===================================
   Testimonials Section
   =================================== */

.testimonials-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

[data-theme="dark"] .testimonial-card {
    background: rgba(45, 55, 72, 0.95);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.author-rating i {
    color: #fbbf24;
}

/* ===================================
   Pricing Section
   =================================== */

.pricing-section {
    background: white;
}

[data-theme="dark"] .pricing-section {
    background: var(--bg-primary);
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .pricing-card {
    background: var(--bg-secondary);
    border-color: #4a5568;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.featured-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--text-light);
    font-size: 0.875rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    color: var(--text-light);
    font-size: 1.125rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: #4ade80;
    margin-right: 0.75rem;
}

.faq-section {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background: var(--primary-gradient);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.form-group-inline {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.form-group-inline .rsl-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.form-group-inline .rsl-input:focus {
    border-color: white;
    outline: none;
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-features i {
    color: #4ade80;
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, #667eea, transparent);
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-top {
    padding: 4rem 0 3rem;
    position: relative;
    z-index: 1;
}

/* Brand Section */
.footer-brand-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 116, 139, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-gradient);
    transition: all var(--transition-normal);
    transform: translate(-50%, -50%);
}

.footer-social a:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social a:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

/* Footer Links */
.footer-links h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    position: relative;
    padding-left: 0;
}

.footer-links a i {
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.hiring-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s ease-in-out infinite;
}

/* Newsletter */
.footer-newsletter {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23667eea' fill-opacity='0.05'%3E%3Cpath d='M0 0h40v40H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.newsletter-header i {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.newsletter-header p {
    color: #94a3b8;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-form .rsl-input {
    flex: 1;
    min-width: 250px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: white;
    padding: 0.875rem 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form .rsl-input::placeholder {
    color: #64748b;
}

.newsletter-form .rsl-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.newsletter-form .btn {
    white-space: nowrap;
}

/* Footer Stats */
.footer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(100, 116, 139, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all var(--transition-normal);
}

.stat-item:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 10px;
    font-size: 1.5rem;
    color: white;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-legal p {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.875rem;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: white;
}

.footer-legal-links .separator {
    color: #475569;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-item i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-header {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .rsl-input,
    .newsletter-form .btn {
        width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        align-items: center;
    }
}

/* ===================================
   Demo Video Off-Canvas
   =================================== */

#demo-video-offcanvas {
    z-index: 10300;
}

.off-canvas-overlay {
    z-index: 10250;
}

#demo-video-offcanvas .off-canvas-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#demo-video-offcanvas .off-canvas-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

#demo-video-offcanvas .off-canvas-header h3,
#demo-video-offcanvas .off-canvas-header button {
    position: relative;
    z-index: 1;
}

#demo-video-offcanvas .off-canvas-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

#demo-video-offcanvas .off-canvas-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

#demo-video-offcanvas .off-canvas-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#demo-video-offcanvas .off-canvas-body {
    padding: 0;
    flex: 1;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    overflow-y: auto;
}

/* Form styling enhancements with purple gradient theme */
#demo-request-form .rsl-field-tile {
    margin-bottom: 1.5rem;
}

#demo-request-form .rsl-fieldset {
    margin-bottom: 1.5rem;
}

#demo-request-form .rsl-fieldset-legend {
    color: #e5e7eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Field inputs with purple gradient background */
#demo-request-form .rsl-field-input,
#demo-request-form .rsl-field-input:focus {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%) !important;
    border-color: rgba(102, 126, 234, 0.4) !important;
    color: #e5e7eb !important;
}

#demo-request-form .rsl-field-input:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
}

/* Field focus bar (underline animation) */
#demo-request-form .rsl-field-input:focus ~ .rsl-field-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Chip styling with purple theme */
#demo-request-form .rsl-chip {
    background: rgba(102, 126, 234, 0.1) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    color: #e5e7eb !important;
}

#demo-request-form .rsl-chip:hover {
    background: rgba(102, 126, 234, 0.2) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Active/checked chip with gradient - using adjacent sibling approach */
/* When input is checked, style the entire label parent */
#demo-request-form .rsl-chip input.rsl-chip-input:checked {
    /* Target parent label through reverse selection */
}

/* More specific selector for checked chips */
#demo-request-form label.rsl-chip:has(input.rsl-chip-input:checked),
#demo-request-form label.rsl-chip:has(input[type="radio"]:checked),
#demo-request-form label.rsl-chip:has(input[type="checkbox"]:checked) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #764ba2 !important;
    color: white !important;
}

/* Text elements within checked chips */
#demo-request-form .rsl-chip input:checked ~ .rsl-chip-label,
#demo-request-form .rsl-chip input:checked ~ .rsl-chip-check {
    color: white !important;
}

#demo-request-form .rsl-chip input:checked ~ .rsl-chip-check {
    opacity: 1 !important;
}

/* Alternative approach using attribute selectors for better compatibility */
#demo-request-form .rsl-chip:has([type="radio"]:checked),
#demo-request-form .rsl-chip:has([type="checkbox"]:checked) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #764ba2 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}

/* JavaScript-applied gradient class for full browser compatibility */
#demo-request-form .rsl-chip.chip-active-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #764ba2 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}

#demo-request-form .rsl-chip.chip-active-gradient .rsl-chip-label,
#demo-request-form .rsl-chip.chip-active-gradient .rsl-chip-check {
    color: white !important;
}

#demo-request-form .rsl-chip.chip-active-gradient .rsl-chip-check {
    opacity: 1 !important;
}

/* Labels */
#demo-request-form .rsl-field-label {
    color: #9ca3af !important;
}

#demo-request-form .rsl-field-helper {
    color: #6b7280 !important;
}

/* Submit button styling - only in the form */
#demo-request-form button[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

#demo-request-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6a3d8f 100%) !important;
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
    transform: translateY(-2px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

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

/* ===================================
   Animations
   =================================== */

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

[data-animate-in] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-animate-in].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .form-group-inline {
        flex-direction: column;
    }

    .form-group-inline .btn {
        width: 100%;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.img-fluid {
    max-width: 100%;
    height: auto;
}

.mb-3 {
    margin-bottom: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

/* ===================================
   ACCESSIBILITY WIDGET THEME OVERRIDES
   Matching TechLaunch Colors (already close to default)
   =================================== */
:root {
    --rsl-a11y-primary: #667eea;
    --rsl-a11y-primary-dark: #5a6fd6;
    --rsl-a11y-primary-light: #818cf8;
    --rsl-a11y-secondary: #764ba2;
    --rsl-a11y-button-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --rsl-a11y-button-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    --rsl-a11y-button-shadow-hover: 0 6px 24px rgba(102, 126, 234, 0.5);
    --rsl-a11y-header-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --rsl-a11y-toggle-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --rsl-a11y-success: #28a745;
}
