/* VirtualBrandPro - Shared Styles */

/* CSS Variables for consistent theming - Enhanced Palette */
:root {
    --primary: #FF6B35;
    --primary-dark: #e55a2b;
    --primary-light: #ff8c5a;
    --secondary: #004E89;
    --secondary-dark: #003a66;
    --secondary-light: #1a6ba8;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    
    /* Enhanced color system */
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-info: #3b82f6;
    --surface-elevated: #ffffff;
    --surface-subtle: #f8fafc;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    
    /* Premium shadows */
    --shadow-sm: 0 1px 2px 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-primary: 0 4px 14px rgba(255, 107, 53, 0.25);
    --shadow-primary-hover: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography - Enhanced */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Section spacing */
section {
    padding: 5rem 5%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo:hover {
    color: var(--primary-dark);
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:not(.cta-button):hover::after {
    width: 100%;
}

nav a:not(.cta-button):hover {
    color: var(--primary);
}

/* Buttons */
.cta-button {
    background: var(--primary);
    color: var(--white);
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 10rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.35rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero .cta-button {
    animation: fadeInUp 0.8s ease 0.4s both;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

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

/* Consistent button styles across all pages */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Problem Section */
.problem {
    background: var(--light);
}

.problem-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-box {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    min-width: 250px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1rem;
    color: #5a5a5a;
}

/* Solution/How It Works */
.solution {
    max-width: 1200px;
    margin: 0 auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.step p {
    color: #5a5a5a;
}

/* Services/Pricing */
.services {
    background: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.pricing-card h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.pricing-card .badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
}

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

.features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    background: rgba(255, 107, 53, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-section .cta-button {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-section .cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Enhanced CTA Box */
.cta-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 5%;
    border: 1px solid rgba(0,0,0,0.05);
}

.cta-box h3 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-box .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cta-box .btn-group {
        flex-direction: column;
    }
    
    .cta-box .btn-group a {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    text-align: left;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo {
    justify-content: flex-start;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-brand .logo span {
    color: var(--primary);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4,
.footer-legal h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary);
}

.footer-legal a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    footer {
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Form Styles */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

input, textarea, select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.contact-info {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--light) 0%, var(--gray-light) 100%);
    border-radius: var(--border-radius);
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.service-card h2 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.service-card .price-tag {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin: 1rem 0;
}

/* Responsive Styles */
@media (max-width: 968px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }
    
    .hero {
        padding: 8rem 1.5rem 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .problem-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-box {
        width: 100%;
        max-width: 320px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 7rem 1rem 3rem;
    }
    
    .hero h1 {
        font-size: 1.85rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ========================================
   ENHANCED CHAT WIDGET STYLES
   ======================================== */
#chatWidget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

#chatButton {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35 0%, #e55a2b 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    animation: chatPulse 2s ease-in-out infinite;
}

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(255, 107, 53, 0.6); }
}

#chatButton:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

#chatWindow {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    max-width: calc(100vw - 48px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    animation: slideUp 0.3s ease;
}

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

#chatHeader {
    background: linear-gradient(135deg, #FF6B35 0%, #e55a2b 100%);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatHeaderTitle {
    font-weight: 600;
    font-size: 1rem;
}

#chatClose {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

#chatClose:hover {
    background: rgba(255,255,255,0.3);
}

#chatMessages {
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
    background: #f8f9fa;
}

#chatMessages > div {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 12px;
    border-left: 3px solid #FF6B35;
}

#chatInput {
    padding: 1rem;
    border-top: 1px solid #eee;
}

#chatInput a {
    display: block;
    text-align: center;
    background: #FF6B35;
    color: white !important;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

#chatInput a:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* Mobile Chat Widget */
@media (max-width: 480px) {
    #chatWidget {
        bottom: 16px;
        right: 16px;
    }
    
    #chatButton {
        width: 56px;
        height: 56px;
    }
    
    #chatWindow {
        bottom: 70px;
        right: -8px;
        width: calc(100vw - 32px);
    }
}

/* ========================================
   STICKY MOBILE CTA
   ======================================== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9998;
    animation: slideUp 0.3s ease;
}

.sticky-cta .btn-primary,
.sticky-cta .btn-secondary {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

.sticky-cta .btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #e55a2b 100%);
    color: white;
}

.sticky-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.sticky-cta .btn-secondary {
    background: white;
    color: #FF6B35;
    border: 2px solid #FF6B35;
}

.sticky-cta .btn-secondary:hover {
    background: #FFF5F2;
}

/* ========================================
   ENHANCED CTA BUTTONS
   ======================================== */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.cta-button:active::after {
    width: 200px;
    height: 200px;
}

/* Floating CTA for conversion */
.floating-cta {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9997;
}

.floating-cta a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s;
}

.floating-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

/* ========================================
   IMPROVED MOBILE RESPONSIVENESS
   ======================================== */
@media (max-width: 768px) {
    /* Better touch targets */
    nav a,
    .cta-button,
    button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improved section spacing */
    section {
        padding: 2.5rem 1.25rem;
    }
    
    /* Cards stack properly */
    .features-grid,
    .steps,
    .pricing-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    /* Better form inputs on mobile */
    input, textarea, select {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 14px;
    }
    
    /* Improved hero for mobile */
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    /* Better table styles */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Improved modal on mobile */
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    /* Smaller padding for very small screens */
    section {
        padding: 2rem 1rem;
    }
    
    /* Adjust pricing cards */
    .pricing-card {
        padding: 1.5rem;
    }
    
    /* Better button sizing */
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   IMPROVED ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid #FF6B35;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cta-button {
        border: 2px solid currentColor;
    }
}
