/* ===== ENHANCED UX/UI IMPROVEMENTS ===== */
/* Global User-Friendly Updates */

:root {
    color-scheme: light dark;

    /* Enhanced Color Palette - Better Accessibility */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    
    --secondary-color: #ec4899;
    --secondary-dark: #db2777;
    
    --accent-color: #8b5cf6;
    --accent-dark: #7c3aed;
    
    /* Improved Text Colors */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    
    /* Better Backgrounds */
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --bg-gray: #edf2f7;
    --bg-dark: #2d3748;
    
    /* Enhanced Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Improved 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);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Improved Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== WORLD-CLASS ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ===== IMPROVED HEADER & NAVIGATION ===== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.header:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    gap: 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
}

.nav-menu a:hover::before {
    width: 80%;
}

.btn-nav {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: all var(--transition-fast);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5, #db2777);
}

/* ===== IMPROVED BUTTONS ===== */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform var(--transition-fast);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5, #db2777);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ===== IMPROVED FORMS ===== */
input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-white);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--bg-white);
}

input::placeholder, textarea::placeholder {
    color: var(--text-light);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-hint {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ===== IMPROVED CARDS ===== */
.card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.card-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* ===== IMPROVED MODAL ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    animation: fadeIn var(--transition-fast);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp var(--transition-base);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-gray);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

/* ===== IMPROVED TOOLTIPS ===== */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    z-index: 10;
}

.tooltip:hover::after {
    opacity: 1;
}

/* ===== IMPROVED ALERTS ===== */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideDown var(--transition-fast);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #065f46;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #7f1d1d;
}

.alert-warning {
    background: rgba(251, 146, 60, 0.1);
    border-color: #fb923c;
    color: #7c2d12;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #1e3a8a;
}

/* ===== IMPROVED ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
    }
    
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@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 var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: more) {
    body {
        --text-primary: #000000;
        --text-secondary: #333333;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #e5e7eb;
        --text-secondary: #cbd5e1;
        --text-light: #94a3b8;
        --text-muted: rgba(148, 163, 184, 0.85);

        --bg-white: #0b1220;
        --bg-light: #0f172a;
        --bg-gray: #111827;
        --bg-dark: #020617;

        --border-color: rgba(255, 255, 255, 0.12);
    }
    
    .header {
        background: rgba(15, 23, 42, 0.85);
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }
    
    .card {
        background: var(--bg-light);
        border-color: rgba(255, 255, 255, 0.05);
    }

    .nav-menu {
        background: var(--bg-white);
    }
}

/* Optional: force dark theme by setting <html data-theme="dark"> */
html[data-theme="dark"] {
    --text-primary: #e5e7eb;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --text-muted: rgba(148, 163, 184, 0.85);

    --bg-white: #0b1220;
    --bg-light: #0f172a;
    --bg-gray: #111827;
    --bg-dark: #020617;

    --border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .card {
    background: var(--bg-light);
    border-color: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .nav-menu {
    background: var(--bg-white);
}

/* Loading States */
.loading {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-gray) 25%,
        var(--bg-light) 50%,
        var(--bg-gray) 75%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ===== IMPROVED SPACING ===== */
.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }
.p-5 { padding: var(--spacing-2xl); }
.p-6 { padding: var(--spacing-3xl); }

.m-1 { margin: var(--spacing-sm); }
.m-2 { margin: var(--spacing-md); }
.m-3 { margin: var(--spacing-lg); }
.m-4 { margin: var(--spacing-xl); }
.m-5 { margin: var(--spacing-2xl); }
.m-6 { margin: var(--spacing-3xl); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ===== IMPROVED TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

small {
    font-size: 0.875rem;
    color: var(--text-light);
}

strong {
    font-weight: 700;
    color: var(--text-primary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== IMPROVED LISTS ===== */
ul, ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* ===== IMPROVED CODE ===== */
code {
    background: var(--bg-gray);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: #d73a49;
}

pre {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
}

/* ===== WORLD-CLASS CONVERSION ELEMENTS ===== */

/* Hero Urgency Banner */
.hero-urgency {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    padding: 10px 20px;
    background: rgba(236, 72, 153, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(236, 72, 153, 0.2);
    animation: pulse-subtle 3s ease-in-out infinite;
}

.urgency-dot {
    width: 8px;
    height: 8px;
    background: #ec4899;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes pulse-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.trust-message {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 12px 0;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    to { left: 100%; }
}

.promo-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.promo-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.promo-text {
    font-size: 0.95rem;
}

.promo-cta {
    background: white;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.promo-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.promo-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: all var(--transition-fast);
}

.promo-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* Section Social Proof */
.section-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.section-proof i {
    color: var(--primary-color);
}

/* Comparison Link */
.comparison-link {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

.link-secondary {
    color: var(--text-secondary);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.link-secondary:hover {
    color: var(--primary-color);
}

.link-light {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.link-light:hover {
    color: white;
}

/* Verified Reviews Badge */
.verified-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Pricing Social Proof */
.pricing-social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
}

.live-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.recent-signup {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    animation: fadeInUp 2s ease-in-out infinite;
}

.signup-avatar {
    font-size: 1.5rem;
}

@keyframes fadeInUp {
    0%, 100% { opacity: 0.7; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

/* Pricing Card Enhancements */
.price-annual {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.urgency-tag {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: pulse-subtle 2s infinite;
}

/* Pricing Footer */
.pricing-footer {
    margin-top: 3rem;
    text-align: center;
}

.roi-link {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.money-back-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-light);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    border: 2px solid var(--primary-light);
}

.money-back-badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.money-back-badge strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.money-back-badge p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* FAQ Live Help */
.faq-live-help {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* CTA Timer */
.cta-timer {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-case-study {
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Footer Newsletter */
.footer-newsletter {
    margin: 1.5rem 0;
}

.footer-newsletter h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.footer-newsletter-form button {
    padding: 10px 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Exit Intent Modal */
.exit-intent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.exit-intent-modal.active {
    display: flex;
}

.exit-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    animation: scaleIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary-color);
}

.exit-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.exit-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.exit-modal-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.exit-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exit-modal-form input {
    padding: 15px 20px;
    border: 2px solid var(--bg-gray);
    border-radius: 12px;
    font-size: 1rem;
}

.exit-modal-form button {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.exit-modal-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .promo-banner .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-social-proof {
        flex-direction: column;
        gap: 1rem;
    }
    
    .money-back-badge {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .exit-modal-content {
        padding: 2rem;
    }
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Contact page utility classes */
.contact-hours {
    font-size: 0.85rem;
    margin-top: 8px;
}

.follow-section {
    margin-top: 40px;
}

.follow-section h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.faq-icon {
    color: var(--accent-purple);
    margin-right: 8px;
}
