/* ============================================================================
   Marketing Platform - Premium Theme Styles
   Modern, professional design with attention to detail
   ============================================================================ */

/* ============================================================================
   1. GLOBAL STYLES & TYPOGRAPHY
   ============================================================================ */

:root {
    /* Primary Colors */
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Secondary Colors */
    --secondary-color: #10B981;
    --secondary-dark: #059669;
    --secondary-light: #34D399;
    
    /* Neutral Colors */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Status Colors */
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --info-color: #3B82F6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* ========== LANDING PAGE HEADER ========== */

.landing-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.landing-navbar {
    background: transparent !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.landing-navbar.scrolled {
    background: rgba(102, 126, 234, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Brand Logo */
.brand-icon-wrapper {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-icon-wrapper {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(-5deg);
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

/* Nav Links */
.landing-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}

.landing-navbar .nav-link:hover {
    color: white !important;
}

.landing-navbar .dropdown-toggle::after {
    opacity: 0.7;
}

/* Login Link */
.nav-link-login {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link-login:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Sign Up Button */
.btn-signup {
    background: white;
    color: #667eea !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-signup:hover {
    background: white;
    color: #764ba2 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Dropdown Menus */
.landing-navbar .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.landing-navbar .dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
}

.landing-navbar .dropdown-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.landing-navbar .dropdown-item i {
    width: 20px;
    margin-right: 8px;
}

/* Mobile Toggle */
.landing-navbar .navbar-toggler {
    color: white;
    border: none;
    padding: 0.5rem;
}

.landing-navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Menu */
@media (max-width: 991px) {
    .landing-navbar .navbar-collapse {
        background: rgba(102, 126, 234, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 1rem;
        margin-top: 1rem;
    }

    .landing-navbar .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
    }

    .landing-navbar .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .btn-signup {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }
}

/* ========== HERO STATS BAR ========== */

.hero-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: white;
    border-radius: 16px;
    padding: 1.25rem 2rem;
    margin-top: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-stat-item {
    text-align: center;
    padding: 0 1.5rem;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, #e5e7eb, transparent);
}

@media (max-width: 575px) {
    .hero-stats-bar {
        padding: 1rem;
        gap: 0;
        border-radius: 12px;
    }

    .hero-stat-item {
        padding: 0 0.75rem;
    }

    .hero-stat-value {
        font-size: 1.25rem;
    }

    .hero-stat-label {
        font-size: 0.65rem;
    }

    .hero-stat-divider {
        height: 30px;
    }
}

/* ========== HERO SECTION ANIMATIONS ========== */

/* Hero Section with Animated Background */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 600px;
    padding-top: 80px; /* Account for fixed header */
    position: relative;
    overflow: hidden;
}

/* Animated Background Pattern */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Gradient Text Animation */
.text-gradient-custom {
    background: linear-gradient(129deg, #314ed0 0%, #4c3563 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: gradientShift 3s ease infinite !important;
}
.text-gradient {
    background: linear-gradient(90deg, #fff 0%, #a8edea 50%, #fed6e3 100%); 
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Hero Title Animation */
.hero-title {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Hover Scale Effect */
.hover-scale {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Dashboard Mockup */
.dashboard-mockup {
    animation: floatDashboard 6s ease-in-out infinite;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

@keyframes floatDashboard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Floating Message Icons */
.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.floating-1 {
    top: 10%;
    right: 10%;
    animation: float1 4s ease-in-out infinite;
}

.floating-2 {
    bottom: 20%;
    right: 5%;
    animation: float2 5s ease-in-out infinite;
}

.floating-3 {
    top: 50%;
    right: -5%;
    animation: float3 6s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(-10deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-30px) translateY(-30px); }
}

/* ========== PHONE MOCKUP STYLES ========== */

.phone-mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.phone-frame {
    width: 300px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    animation: floatPhone 6s ease-in-out infinite;
    position: relative;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 45px 16px 16px;
    color: white;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chat-name {
    font-weight: 600;
    font-size: 14px;
}

.chat-status {
    font-size: 11px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    background: #f1f5f9;
}

.message {
    max-width: 85%;
    opacity: 0;
    animation: messageAppear 0.5s ease forwards;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-message {
    animation: messageAppear 0.5s ease forwards;
}

.message-received {
    align-self: flex-start;
}

.message-sent {
    align-self: flex-end;
}

.message-received .message-bubble {
    background: white;
    color: #1f2937;
    border-radius: 18px 18px 18px 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.message-sent .message-bubble {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 18px 18px 4px 18px;
}

.message-bubble {
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.4;
}

.message-time {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
    padding: 0 4px;
}

.message-sent .message-time {
    text-align: right;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: white;
    border-radius: 18px 18px 18px 4px;
    width: fit-content;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

/* Chat Input */
.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.chat-input input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 13px;
    background: #f8fafc;
    outline: none;
}

.send-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.send-btn:hover {
    transform: scale(1.1);
}

/* Campaign Stats Card (floating) */
.campaign-stats-card {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    opacity: 0;
    animation: slideInRight 0.6s ease forwards;
    animation-delay: 2s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.animate-slide-in {
    animation: slideInRight 0.6s ease forwards;
    animation-delay: 2s;
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 12px;
    color: #1f2937;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.stats-row {
    display: flex;
    gap: 12px;
}

.campaign-stats-card .stat-item {
    text-align: center;
}

.campaign-stats-card .stat-value {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: #667eea;
}

.campaign-stats-card .stat-label {
    display: block;
    font-size: 10px;
    color: #9ca3af;
    text-transform: uppercase;
}

/* Responsive Phone Mockup */
@media (max-width: 991px) {
    .phone-frame {
        width: 260px;
        height: 500px;
    }

    .campaign-stats-card {
        right: 10px;
        top: auto;
        bottom: 80px;
        transform: none;
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

@media (max-width: 575px) {
    .phone-frame {
        width: 240px;
        height: 460px;
        border-radius: 35px;
        padding: 10px;
    }

    .phone-notch {
        width: 100px;
        height: 24px;
        top: 14px;
    }

    .phone-screen {
        border-radius: 28px;
    }

    .chat-header {
        padding: 38px 12px 12px;
    }

    .campaign-stats-card {
        display: none;
    }

    .floating-element {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ========== FEATURES SECTION ========== */

/* Feature Card with Hover Effect */
.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    /*transform: translateY(-10px);*/
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Feature Icon Animation */
.feature-icon-wrapper {
    position: relative;
    display: inline-block;
}

.feature-icon-bg {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 2s ease-in-out infinite;
}

.feature-icon-lg {
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

/* ========== STATS SECTION WITH ANIMATION ========== */

.stats-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.stats-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255,255,255,0.1) 0px, rgba(255,255,255,0.1) 2px, transparent 2px, transparent 10px);
    opacity: 0.5;
}

.stat-item-enhanced {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-item-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* ========== TESTIMONIALS SECTION ========== */

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 20px;
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext x='0' y='80' font-size='120' fill='%23667eea' opacity='0.1' font-family='Georgia,serif'%3E%22%3C/text%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    speak: none;
    aria-hidden: true;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 24px;
}

/* ========== CTA SECTION ========== */

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: ctaPatternMove 15s ease-in-out infinite;
}

@keyframes ctaPatternMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* ========== MESSAGE ANIMATION (SMS/Email Theme) ========== */

/* Animated message bubbles in hero */
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Message send animation */
@keyframes messageSend {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
}

/* Create animated message elements */
.message-animation {
    position: absolute;
    width: 200px;
    height: 60px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 10px 15px;
    animation: messageSend 4s ease-in-out infinite;
}

.message-animation-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.message-animation-2 {
    top: 50%;
    right: -10%;
    animation-delay: 2s;
}

.message-animation-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

/* ========== SCROLL ANIMATIONS ========== */

/* Fade in from bottom */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from right */
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from left */
[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom in */
[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* ========== EXISTING STYLES ========== */

.hero-image-placeholder {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
}

/* ============================================================================
   2. CARDS & CONTAINERS
   ============================================================================ */

.card {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    background: white;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

.card-body {
    padding: 1.5rem;
}

/* Premium Card Variants */
.card-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.card-premium .card-header {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.card-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-elevated {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

/* ============================================================================
   3. BUTTONS
   ============================================================================ */

.btn {
    font-weight: 500;
    border-radius: var(--radius-lg);
    padding: 0.625rem 1.25rem;
    transition: all var(--transition-fast);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary-gradient);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a4fd9 0%, #6b4396 100%);
}

.btn-group-sm > .btn, .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
}

/* Icon Buttons */
.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================================
   4. DATATABLES STYLING
   ============================================================================ */

.dataTables_wrapper {
    padding: 0;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    padding: 1rem 1.5rem;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    transition: all var(--transition-fast);
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    margin: 0 0.5rem;
}

/* Table Styling */
.table {
    color: var(--gray-700);
}

.table thead th {
    background-color: var(--gray-50);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--gray-200);
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
}

.table-hover tbody tr {
    transition: background-color var(--transition-fast);
}

.table-hover tbody tr:hover {
    background-color: var(--gray-50);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.01);
}

/* DataTables Pagination */
.dataTables_wrapper .dataTables_paginate {
    padding: 1rem 1.5rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    margin: 0 0.125rem;
    border: 1px solid var(--gray-300);
    background: white;
    transition: all var(--transition-fast);
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary-gradient) !important;
    color: white !important;
    border-color: transparent;
}

/* DataTables Info */
.dataTables_wrapper .dataTables_info {
    padding: 1rem 1.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* DataTables Processing */
.dataTables_wrapper .dataTables_processing {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 2rem;
}

/* Export Buttons */
.dt-buttons {
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.dt-buttons .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ============================================================================
   5. BADGES & STATUS INDICATORS
   ============================================================================ */

.badge {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

/* Status Badges with Modern Colors */
.badge.bg-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    color: white;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
}

.badge.bg-primary {
    background: var(--primary-gradient) !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%) !important;
}

/* Pill Badges */
.badge-pill {
    border-radius: 50rem;
}

/* Dot Indicators */
.status-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-dot.success {
    background-color: var(--success-color);
}

.status-dot.warning {
    background-color: var(--warning-color);
}

.status-dot.danger {
    background-color: var(--danger-color);
}

/* ============================================================================
   6. FORMS
   ============================================================================ */

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control,
.form-select {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 0.625rem 0.875rem;
    transition: all var(--transition-fast);
    font-size: 0.9375rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.form-control.is-valid {
    border-color: var(--success-color);
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

.invalid-feedback {
    font-size: 0.875rem;
    color: var(--danger-color);
    margin-top: 0.25rem;
}

.valid-feedback {
    font-size: 0.875rem;
    color: var(--success-color);
    margin-top: 0.25rem;
}

/* Form Groups */
.mb-3 {
    margin-bottom: 1.25rem;
}

/* ============================================================================
   7. ALERTS & NOTIFICATIONS
   ============================================================================ */

.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid;
}

.alert-success {
    background-color: #ECFDF5;
    color: #065F46;
    border-left-color: var(--success-color);
}

.alert-warning {
    background-color: #FEF3C7;
    color: #92400E;
    border-left-color: var(--warning-color);
}

.alert-danger {
    background-color: #FEE2E2;
    color: #991B1B;
    border-left-color: var(--danger-color);
}

.alert-info {
    background-color: #DBEAFE;
    color: #1E40AF;
    border-left-color: var(--info-color);
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================================================
   8. TABS & NAVIGATION
   ============================================================================ */

.nav-tabs {
    border-bottom: 2px solid var(--gray-200);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--gray-600);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-light);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border-bottom: 2px solid var(--primary-color);
}

/* ============================================================================
   9. PAGE HEADERS
   ============================================================================ */

.page-header {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.page-header h1,
.page-header h2 {
    margin: 0;
    color: var(--gray-900);
    font-weight: 700;
}

.page-header p {
    margin: 0.5rem 0 0;
    color: var(--gray-600);
}

/* ============================================================================
   10. CAMPAIGN WIZARD STEPS
   ============================================================================ */

.step-indicator {
    position: relative;
    cursor: pointer;
    padding: 1rem;
    transition: all var(--transition-base);
}

.step-indicator .step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.step-indicator .step-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.step-indicator.active .step-number {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    transform: scale(1.1);
}

.step-indicator.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step-indicator.completed .step-number {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

.step-indicator.completed .step-label {
    color: var(--success-color);
}

/* Step Connector Line */
.step-indicator::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--gray-200);
    z-index: -1;
}

.step-indicator:first-child::before {
    display: none;
}

.step-indicator.completed::before {
    background: var(--success-color);
}

/* ============================================================================
   11. STATS & METRICS
   ============================================================================ */

.stat-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border-left: 4px solid transparent;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card.stat-primary {
    border-left-color: var(--primary-color);
}

.stat-card.stat-success {
    border-left-color: var(--success-color);
}

.stat-card.stat-warning {
    border-left-color: var(--warning-color);
}

.stat-card.stat-danger {
    border-left-color: var(--danger-color);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.stat-change {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--danger-color);
}

/* ============================================================================
   12. LOADING STATES
   ============================================================================ */

.spinner-border {
    width: 2rem;
    height: 2rem;
    border-width: 0.25rem;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15rem;
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================================================================
   13. HOVER EFFECTS
   ============================================================================ */

.hover-lift {
    transition: all var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ============================================================================
   14. RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .page-header {
        padding: 1rem;
    }
    
    .step-indicator .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .dt-buttons .btn {
        font-size: 0.75rem;
        padding: 0.375rem 0.625rem;
    }
}

/* ============================================================================
   15. UTILITIES
   ============================================================================ */

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.rounded-xl {
    border-radius: var(--radius-xl) !important;
}

.rounded-2xl {
    border-radius: var(--radius-2xl) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.shadow-xl {
    box-shadow: var(--shadow-xl) !important;
}

/* ============================================================================
   16. DARK MODE SUPPORT (Optional - for future)
   ============================================================================ */

@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}

/* ============================================================================
   17. PRINT STYLES
   ============================================================================ */

@media print {
    .no-print,
    .dt-buttons,
    .dataTables_filter,
    .dataTables_length,
    .btn-group {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
}

/* CSP Compliance: Externalized inline styles */

/* Display utilities */
.display-none {
    display: none;
}

.display-block {
    display: block;
}

/* Cursor utilities */
.cursor-pointer {
    cursor: pointer;
}

/* Icon sizing */
.icon-large {
    font-size: 2rem;
}

.icon-xlarge {
    font-size: 3rem;
}

.icon-opacity-3 {
    opacity: 0.3;
}

.icon-opacity-5 {
    opacity: 0.5;
}

.icon-opacity-7 {
    opacity: 0.7;
}

/* Margin and padding utilities beyond Bootstrap defaults */
.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

/* Chart and visualization containers */
.chart-container {
    position: relative;
    height: 300px;
}

/* Badge utility for token/placeholder */
.token-badge {
    cursor: pointer;
    user-select: none;
}

.token-badge:hover {
    opacity: 0.8;
}

/* Email preview styling */
.email-preview-container {
    border: 1px solid #dee2e6;
    padding: 20px;
    background-color: #ffffff;
    min-height: 400px;
}

/* SMS/MMS preview styling */
.sms-preview-container {
    max-width: 375px;
    margin: 0 auto;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    background-color: #f8f9fa;
}

/* Conditional field display */
.conditional-field {
    display: none;
}

.conditional-field.show {
    display: block;
}

/* Provider status indicators */
.provider-status-active {
    color: #28a745;
}

.provider-status-inactive {
    color: #dc3545;
}

/* Pricing tier cards */
.pricing-card {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Feature list styling */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Workflow node styling */
.workflow-node {
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 15px;
    background-color: #f8f9fa;
    margin-bottom: 10px;
}

.workflow-node.active {
    background-color: #e7f1ff;
    border-color: #0056b3;
}

/* Analytics chart wrappers */
.analytics-chart-wrapper {
    position: relative;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Loading spinners and overlays */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.hidden {
    display: none;
}

/* Success/Error message styling */
.message-success {
    color: #28a745;
    font-weight: 500;
}

.message-error {
    color: #dc3545;
    font-weight: 500;
}

/* Table enhancements */
.table-hover tbody tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Modal custom sizing */
.modal-xlarge {
    max-width: 90%;
}

/* Form wizard steps */
.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

/* Color picker input */
.color-picker-input {
    width: 100px;
    height: 40px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
}

/* Preview iframe wrapper */
.preview-iframe-wrapper {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

.preview-iframe-wrapper iframe {
    width: 100%;
    border: none;
    min-height: 500px;
}

/* ========================================
   LANDING PAGE ENHANCEMENTS - NEW STYLES
   ======================================== */

/* Company Logos Section */
.company-logo-wrapper {
    padding: 15px;
    transition: transform 0.3s ease;
}

.company-logo-wrapper:hover {
    transform: scale(1.05);
}

.company-logo {
    max-height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.company-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.grayscale-logo {
    filter: grayscale(100%);
    opacity: 0.6;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Video Player Styles */
.demo-video-container {
    position: relative;
    background: #000;
    min-height: 300px;
}

.demo-video-container video {
    display: block;
    width: 100%;
    height: auto;
}

.video-play-overlay {
    pointer-events: auto;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.video-play-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.btn-play-video {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-play-video:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.btn-play-video i {
    margin-left: 5px;
}

/* Trust Badges Section */
.trust-badges-section {
    background: #fff;
}

.trust-badge-card {
    background: #fff;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-badge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.trust-badge-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Use Cases Section */
.use-cases-section {
    background: #f9fafb;
}

.industry-tabs .nav-link {
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 12px 24px;
    margin: 0 8px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s ease;
    background: #fff;
}

.industry-tabs .nav-link:hover {
    color: #4f46e5;
    border-color: #4f46e5;
    background: #f3f4f6;
}

.industry-tabs .nav-link.active {
    color: #fff;
    background: #4f46e5;
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.industry-tabs .nav-link i {
    margin-right: 8px;
    font-size: 18px;
}

.use-case-list li {
    padding-left: 0;
    margin-bottom: 16px;
    line-height: 1.6;
}

.use-case-list strong {
    color: #1f2937;
}

.use-case-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.use-case-image-wrapper img {
    transition: transform 0.3s ease;
}

.use-case-image-wrapper:hover img {
    transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
    background: #f9fafb;
}

.faq-section .accordion-item {
    background: #fff;
    transition: all 0.3s ease;
}

.faq-section .accordion-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

.faq-section .accordion-button {
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    color: #1f2937;
    border: none;
}

.faq-section .accordion-button:not(.collapsed) {
    background: #f3f4f6;
    color: #4f46e5;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234f46e5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-section .accordion-body {
    padding: 1.5rem;
    background: #fff;
    line-height: 1.7;
}

.faq-section .accordion-body ul {
    margin-top: 12px;
    margin-bottom: 12px;
}

.faq-section .accordion-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Features Comparison Table */
.features-comparison-section {
    background: #fff;
}

.comparison-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comparison-table thead {
    background: #f9fafb;
}

.comparison-table th {
    border: none;
    vertical-align: middle;
}

.comparison-table .feature-column {
    min-width: 250px;
    background: #fff;
    position: sticky;
    left: 0;
    z-index: 10;
}

.comparison-table .plan-column {
    min-width: 200px;
}

.comparison-table .plan-header {
    border: none;
}

.comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f9fafb;
}

.comparison-table .section-header {
    background: #f3f4f6;
    font-weight: 600;
    color: #1f2937;
}

.comparison-table .section-header td {
    border-top: 2px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table .feature-name {
    font-weight: 500;
    color: #374151;
    padding: 1rem 1.25rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .bi-check-circle-fill {
    font-size: 1.5rem;
}

.comparison-table .bi-dash-circle {
    font-size: 1.5rem;
}

.comparison-table tfoot td {
    border-top: 2px solid #e5e7eb;
    background: #f9fafb;
}

/* Mobile responsiveness for comparison table */
@media (max-width: 991.98px) {
    .comparison-table {
        display: none;
    }

    #mobile-comparison {
        display: block !important;
    }
}

@media (min-width: 992px) {
    #mobile-comparison {
        display: none !important;
    }
}

/* Table responsive scrolling */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #4338ca;
}

/* AOS Animation Enhancements */
[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(30px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}

/* Utility Classes for Landing Page */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .company-logo {
        max-height: 35px;
    }

    .trust-badge-img {
        width: 60px;
        height: 60px;
    }

    .industry-tabs .nav-link {
        padding: 10px 16px;
        margin: 4px;
        font-size: 0.9rem;
    }

    .btn-play-video {
        width: 60px;
        height: 60px;
    }

    .btn-play-video i {
        font-size: 1.5rem;
    }
}

/* ========== MODERN FOOTER STYLES ========== */

.site-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    color: #a0aec0;
    margin-top: 0;
    margin-bottom: 0;
    border: none;
}

/* Remove any body/html bottom spacing */
html, body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-bottom {
    margin-bottom: 0;
    border-bottom: none;
}

/* Footer Main Section */
.footer-main {
    padding: 80px 0 50px;
}

/* Footer Brand */
.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
}

/* Footer Titles */
.footer-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin-right: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links a:hover::before {
    width: 15px;
    margin-right: 8px;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.1rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text strong {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-text span {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.5;
}

.contact-text a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-text a:hover {
    color: #667eea;
}

/* Footer Map */
.footer-map {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Newsletter Section */
.footer-newsletter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
}

.newsletter-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px 0 0 50px;
    padding: 14px 24px;
    color: white;
    font-size: 0.95rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
    color: white;
}

.btn-newsletter {
    background: white;
    color: #667eea;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 0 50px 50px 0;
    border: none;
    transition: all 0.3s ease;
}

.btn-newsletter:hover {
    background: #f0f0f0;
    color: #764ba2;
    transform: scale(1.02);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    font-size: 0.875rem;
}

.footer-bottom p {
    color: #64748b;
}

.footer-badges {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.badge-item {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.badge-item i {
    color: #667eea;
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-main {
        padding: 60px 0 40px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .footer-main {
        padding: 50px 0 30px;
    }

    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form .form-control {
        border-radius: 50px;
        margin-bottom: 10px;
    }

    .btn-newsletter {
        border-radius: 50px;
        width: 100%;
    }

    .footer-badges {
        justify-content: center;
    }

    .footer-map iframe {
        height: 150px;
    }
}
