/* Enterprise Gradient Background */
body {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f1e 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* ThreadSync Global CSS */
/* This file contains all shared styles across the site */

/* Glass Morphism Effects */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Glow Effect */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-glow:hover::before {
    left: 100%;
}

/* Navigation Styles - BLACK BACKGROUND */
nav {
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Styles - BLACK BACKGROUND */
footer {
    background: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    transition: right 0.3s ease;
    z-index: 60;
    padding: 2rem;
}

.mobile-menu.active {
    right: 0;
}

/* Get Started Page Specific */
.pricing-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.pricing-card.featured {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Contact Page Specific */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
}

.contact-icon.email {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-icon.chat {
    background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
}

.contact-icon.docs {
    background: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%);
}

/* Form Styles */
.form-section {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    color: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(30, 41, 59, 0.8);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Footer Styles */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #667eea;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .glass-card {
        padding: 1rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 200px);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(252, 70, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Mobile CTA */
.mobile-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
}

/* Ensure footer is always black */
footer.bg-black,
.bg-black footer,
#footer-container footer {
    background-color: #000000 !important;
    background: #000000 !important;
}

/* Remove any transparency from footer */
footer {
    opacity: 1 !important;
    background-color: #000000 !important;
}

/* Force solid black footer - no gradients */
footer,
footer.bg-black,
#footer-container footer,
footer[class*="bg-"] {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}

/* Ensure no pseudo-elements add gradients */
footer::before,
footer::after {
    background: transparent !important;
    background-image: none !important;
}

/* Ensure footer is above background pattern with solid black */
footer {
    position: relative;
    z-index: 20 !important;
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}

/* Footer container must also be above pattern */
#footer-container {
    position: relative;
    z-index: 20 !important;
    background: #000000 !important;
}

/* Ensure pattern doesn't show through footer */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    z-index: -1;
}

/* Make sure main content doesn't overlap footer */
main {
    position: relative;
    z-index: 10;
}
