/* Storentic SEO Marketing Site - Enhanced Styles */

/* Custom Properties */
:root {
    --primary-blue: #2563eb;
    --primary-dark: #1e40af;
    --accent-orange: #f97316;
    --accent-green: #059669;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Base Body Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Hero Gradient Background */
.hero-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

/* Feature Card Hover Effect */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-blue);
}

/* CTA Button Styles */
.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

/* Section Spacing */
.section-padding {
    padding: 5rem 0;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Stats Counter Animation */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

/* Pricing Card */
.pricing-card {
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    background: white;
}

.pricing-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    border-width: 3px;
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 0;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--gray-900);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--gray-800);
    padding-top: 0;
}

.faq-answer.active {
    max-height: 500px;
    padding-top: 1rem;
}

/* Navigation */
.nav-link {
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Logo Styles */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

/* Integration Logos */
.integration-logo {
    height: 3rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.integration-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
    background: var(--gray-50);
    font-weight: 600;
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-blue {
    background: #dbeafe;
    color: var(--primary-blue);
}

.badge-green {
    background: #d1fae5;
    color: var(--accent-green);
}

.badge-orange {
    background: #ffedd5;
    color: var(--accent-orange);
}

/* ===== NEW: SCROLL ANIMATIONS ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays for list items */
.scroll-animate:nth-child(1) { transition-delay: 0s; }
.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.scroll-animate:nth-child(3) { transition-delay: 0.2s; }
.scroll-animate:nth-child(4) { transition-delay: 0.3s; }
.scroll-animate:nth-child(5) { transition-delay: 0.4s; }
.scroll-animate:nth-child(6) { transition-delay: 0.5s; }

/* ===== NEW: STICKY CTA BAR ===== */
.sticky-cta-bar {
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

/* ===== NEW: CUSTOMER LOGOS ===== */
.customer-logo {
    height: 2.5rem;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.customer-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===== NEW: STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #7c3aed 100%);
}

.stat-card {
    transition: transform 0.3s ease;
}

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

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-gradient {
        padding: 3rem 0;
    }

    .customer-logo {
        height: 2rem;
    }
}

/* Enhanced Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Card Glow Enhancement */
.feature-card:hover {
    box-shadow: 0 20px 40px -5px rgba(37, 99, 235, 0.15);
}
