/* HOME PAGE CSS - COMPLETE WITH FOOTER */

* {
    box-sizing: border-box;
}

/* Hero */
.hero {
    padding: 5rem 0 4rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .hero {
    background: linear-gradient(135deg, #F8F7FF 0%, #FFF5F7 50%, #F0FDFA 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    border-color: rgba(124, 58, 237, 0.2);
}

[data-theme="dark"] .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
}

.hero-trust {
    margin-top: 3rem;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* Search */
.search-section {
    padding: 2.5rem 0;
    background: var(--bg);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
}

[data-theme="dark"] .search-input {
    background: rgba(255, 255, 255, 0.05);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

/* Sellers */
.sellers-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.featured-container {
    margin-bottom: 3rem;
}

.featured-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.seller-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .seller-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.seller-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -5px rgba(124, 58, 237, 0.2);
    border-color: var(--primary);
}

.seller-card.featured {
    border-color: var(--primary);
}

.seller-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.seller-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
}

.seller-info {
    flex: 1;
    min-width: 0;
    position: relative;
}

.seller-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.seller-category {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.seller-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-count {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.seller-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
}

/* Features */
.features-section {
    padding: 5rem 0;
    background: var(--bg);
}

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

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works */
.how-it-works-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    position: relative;
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
}

.step-icon {
    font-size: 3rem;
    margin: 1.5rem 0 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    font-weight: 800;
}

/* FAQ */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Footer Trigger */
.footer-trigger-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    background: var(--bg-secondary);
}

.footer-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .footer-trigger {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-trigger:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

.trigger-icon {
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.footer.active {
    max-height: 1000px;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.whatsapp-link {
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Page Sections (for About, Privacy, Terms, Contact) */
.page-section {
    padding: 5rem 0;
    background: var(--bg);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
}

.page-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--text);
}

.page-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.page-content ul {
    color: var(--text-light);
    line-height: 1.8;
    margin: 1rem 0 1.5rem 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: var(--primary);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--primary-dark);
}

.cta-box {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: var(--radius);
    border: 2px solid var(--primary);
    text-align: center;
}

.cta-box h3 {
    margin: 0 0 1.5rem 0;
}

/* Contact Page */
.contact-card {
    text-align: center;
    padding: 3rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
    margin-bottom: 2rem;
}

.contact-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-card h2 {
    margin: 0 0 1rem 0;
}

.contact-card p {
    margin-bottom: 2rem;
}

.contact-info {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 2px solid var(--border);
}

.contact-info h3 {
    margin: 0 0 1rem 0;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.text-muted {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.0625rem;
    }
    
    .trust-badges {
        gap: 1rem;
        font-size: 0.8125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .seller-card {
        flex-direction: column;
        text-align: center;
    }
    
    .seller-badge {
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.0625rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .page-content {
        padding: 2rem 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ENHANCED HOME PAGE ANIMATIONS - ADD TO YOUR home.css */

/* Hero Section Animations */
@keyframes heroGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

[data-theme="light"] .hero {
    background: linear-gradient(135deg, #F8F7FF 0%, #FFF5F7 50%, #F0FDFA 100%);
    background-size: 200% 200%;
    animation: heroGradient 15s ease infinite;
}

.hero::before {
    animation: floatBubble 20s ease-in-out infinite;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.6;
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.7;
    }
}

/* Hero Badge Shimmer */
.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Hero Title Gradient Animation */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Buttons Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
}

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

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

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

/* Search Input Focus Animation */
.search-input:focus {
    animation: inputGlow 0.5s ease;
}

@keyframes inputGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }
    100% {
        box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    }
}

/* Seller Cards Stagger Animation */
.seller-card {
    animation: cardFadeIn 0.6s ease-out both;
}

.seller-card:nth-child(1) { animation-delay: 0.1s; }
.seller-card:nth-child(2) { animation-delay: 0.2s; }
.seller-card:nth-child(3) { animation-delay: 0.3s; }
.seller-card:nth-child(4) { animation-delay: 0.4s; }
.seller-card:nth-child(5) { animation-delay: 0.5s; }
.seller-card:nth-child(6) { animation-delay: 0.6s; }

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

/* Seller Card Hover 3D Effect */
.seller-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.seller-card:hover {
    transform: translateY(-8px) rotateX(2deg);
}

/* Seller Avatar Zoom Effect */
.seller-avatar {
    position: relative;
    overflow: hidden;
}

.seller-avatar img {
    transition: transform 0.5s ease;
}

.seller-card:hover .seller-avatar img {
    transform: scale(1.1);
}

/* Featured Badge Pulse */
.seller-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Features Section */
.feature-card {
    opacity: 0;
    animation: featureReveal 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }
.feature-card:nth-child(4) { animation-delay: 0.8s; }

@keyframes featureReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Feature Icon Hover Animation */
.feature-icon {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.3);
}

.feature-icon svg {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.2);
}

/* How It Works Step Cards */
.step-card {
    opacity: 0;
    animation: stepSlideIn 0.8s ease-out forwards;
}

.step-card:nth-child(1) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.4s; }
.step-card:nth-child(5) { animation-delay: 0.6s; }

@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Step Number Rotation */
.step-number {
    animation: rotateIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes rotateIn {
    from {
        transform: translateX(-50%) rotate(-180deg) scale(0);
    }
    to {
        transform: translateX(-50%) rotate(0deg) scale(1);
    }
}

/* Step Icon Bounce on Hover */
.step-icon {
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    25% {
        transform: scale(1.1) translateY(-10px);
    }
    50% {
        transform: scale(0.95) translateY(5px);
    }
    75% {
        transform: scale(1.05) translateY(-5px);
    }
}

/* Step Arrow Animation */
.step-arrow {
    opacity: 0;
    animation: arrowSlide 1s ease-out 0.8s forwards;
}

@keyframes arrowSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* FAQ Items Stagger */
.faq-item {
    opacity: 0;
    animation: faqFadeIn 0.6s ease-out forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* FAQ Answer Slide Down */
.faq-answer {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.3s ease;
}

/* CTA Section Gradient Animation */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    background-size: 200% 200%;
    animation: ctaGradient 10s ease infinite;
}

@keyframes ctaGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.cta-section .btn-primary {
    animation: ctaButtonFloat 3s ease-in-out infinite;
}

@keyframes ctaButtonFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Footer Trigger Pulse */
.footer-trigger {
    animation: triggerPulse 2s ease-in-out infinite;
}

@keyframes triggerPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }
    50% {
        box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
    }
}

.footer-trigger:hover {
    animation: none;
}

/* Footer Slide Up Animation */
.footer {
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.6s ease,
                opacity 0.4s ease;
    opacity: 0;
}

.footer.active {
    opacity: 1;
}

/* Scroll Progress Indicator (Optional) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform-origin: left;
    z-index: 9999;
    transition: transform 0.1s ease;
}

/* Loading Skeleton Animation (for images) */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.seller-avatar img[loading="lazy"] {
    background: linear-gradient(
        90deg,
        rgba(124, 58, 237, 0.1) 25%,
        rgba(124, 58, 237, 0.2) 50%,
        rgba(124, 58, 237, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* Smooth Color Transitions */
* {
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::before,
    .gradient-text,
    .seller-badge,
    .footer-trigger {
        animation: none !important;
    }
}

/* High Performance Mode */
@media (prefers-reduced-motion: no-preference) {
    .seller-card,
    .feature-card,
    .step-card {
        will-change: transform, opacity;
    }
}

/* Print Styles */
@media print {
    .hero::before,
    .footer-trigger-wrapper {
        display: none;
    }
    
    .seller-card,
    .feature-card {
        break-inside: avoid;
    }
}































