/* ========================================
   MODERN HOMEPAGE DESIGN STYLES
   For BuyAuthenticIvermectin.com Rebrand
   ======================================== */

/* Hero Section - Modern with Animated Gradient */
.hero-section-modern {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--uc-primary-color) 0%, var(--uc-secondary-color) 100%);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(134, 158, 40, 0.9) 0%, 
        rgba(29, 111, 66, 0.85) 50%,
        rgba(154, 104, 200, 0.8) 100%
    );
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-content {
    color: white;
}

.hero-main-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.title-highlight {
    display: inline-block;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn-primary-hero {
    padding: 16px 40px;
    background: white;
    color: var(--uc-primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn-secondary-hero {
    padding: 16px 40px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
    background: white;
    color: var(--uc-primary-color);
}

.hero-trust-indicators {
    display: flex;
    gap: 32px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
}

.trust-indicator i {
    font-size: 24px;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Cards in Hero */
.hero-image-content {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 32px;
    color: var(--uc-primary-color);
}

.floating-card span {
    font-weight: 700;
    color: var(--uc-heading-color);
}

.floating-card.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Modern Section Headers */
.section-header-modern {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--uc-primary-color), var(--uc-secondary-color));
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title-modern {
    font-size: 42px;
    font-weight: 800;
    color: var(--uc-heading-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle-modern {
    font-size: 18px;
    color: var(--uc-body-text);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Why Choose Us - Modern Cards */
.why-choose-modern {
    padding: 100px 0;
    background: var(--uc-section-bg);
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card-modern {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: var(--uc-primary-color);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--uc-primary-color), var(--uc-secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-wrapper {
    transform: rotate(5deg) scale(1.1);
}

.feature-icon-wrapper i {
    font-size: 36px;
    color: white;
}

.feature-card-modern h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--uc-heading-color);
    margin-bottom: 12px;
}

.feature-card-modern p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--uc-body-text);
    opacity: 0.85;
}

/* Categories - Modern Masonry Grid */
.categories-modern {
    padding: 100px 0;
    background: white;
}

.category-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.category-card-modern {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.category-card-modern.large {
    grid-row: span 2;
    height: 624px;
}

.category-overlay-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transition: all 0.4s ease;
}

.category-card-modern:hover .category-overlay-modern {
    background: linear-gradient(to top, rgba(134, 158, 40, 0.95), rgba(134, 158, 40, 0.7));
}

.category-overlay-modern h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.category-count {
    font-size: 14px;
    opacity: 0.9;
    display: block;
    margin-bottom: 16px;
}

.category-arrow {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.category-card-modern:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

.category-arrow i {
    color: var(--uc-primary-color);
    font-size: 20px;
}

/* Products Section - Modern */
.products-modern {
    padding: 100px 0;
    background: var(--uc-section-bg);
}

/* Testimonials - Modern Design */
.testimonials-modern {
    padding: 100px 0;
    background: white;
}

.testimonial-stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.stat-card {
    background: linear-gradient(135deg, var(--uc-primary-color), var(--uc-secondary-color));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 12px;
}

.stat-stars {
    font-size: 24px;
    margin-bottom: 12px;
}

.stat-stars i {
    color: #FFD700;
}

.stat-label {
    font-size: 16px;
    opacity: 0.95;
    font-weight: 600;
}

.testimonial-card-modern {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    border: 2px solid var(--uc-card-border);
    transition: all 0.3s ease;
}

.testimonial-card-modern:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    color: var(--uc-primary-color);
    opacity: 0.1;
}

.testimonial-rating {
    margin-bottom: 16px;
    color: #FFD700;
    font-size: 18px;
}

.testimonial-title-modern {
    font-size: 20px;
    font-weight: 700;
    color: var(--uc-heading-color);
    margin-bottom: 16px;
}

.testimonial-text-modern {
    font-size: 16px;
    line-height: 1.8;
    color: var(--uc-body-text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 2px solid var(--uc-card-border);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--uc-primary-color), var(--uc-secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--uc-heading-color);
    font-size: 16px;
}

.author-date {
    font-size: 14px;
    color: var(--uc-body-text);
    opacity: 0.7;
}

.view-all-reviews-cta {
    text-align: center;
    margin-top: 48px;
}

/* Blog Section - Modern Cards */
.blog-modern {
    padding: 100px 0;
    background: var(--uc-section-bg);
}

.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.blog-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.blog-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
    height: 250px;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.blog-card-modern:hover .blog-image-wrapper img {
    transform: scale(1.1);
}

.blog-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(134, 158, 40, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.blog-card-modern:hover .blog-image-overlay {
    opacity: 1;
}

.blog-image-overlay i {
    font-size: 48px;
    color: white;
}

.blog-card-content {
    padding: 32px;
}

.blog-date {
    display: inline-block;
    font-size: 14px;
    color: var(--uc-primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-date i {
    margin-right: 6px;
}

.blog-title-modern {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.blog-title-modern a {
    color: var(--uc-heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title-modern a:hover {
    color: var(--uc-primary-color);
}

.blog-excerpt-modern {
    font-size: 15px;
    line-height: 1.7;
    color: var(--uc-body-text);
    margin-bottom: 20px;
    opacity: 0.85;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--uc-primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

/* FAQ Section - Modern Side-by-Side Layout */
.faq-modern {
    padding: 100px 0;
    background: white;
}

.faq-layout-modern {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.faq-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.faq-contact-card {
    background: linear-gradient(135deg, var(--uc-primary-color), var(--uc-secondary-color));
    padding: 32px;
    border-radius: 20px;
    color: white;
    text-align: center;
    margin-top: 32px;
}

.faq-contact-card i {
    font-size: 48px;
    margin-bottom: 16px;
}

.faq-contact-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.faq-contact-card p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.btn-primary-small {
    display: inline-block;
    padding: 12px 28px;
    background: white;
    color: var(--uc-primary-color);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.faq-content .faq-item {
    background: var(--uc-faq-bg);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 2px solid var(--uc-card-border);
    transition: all 0.3s ease;
}

.faq-content .faq-item:hover {
    border-color: var(--uc-primary-color);
}

.faq-content .faq-question {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: var(--uc-heading-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-content .faq-question:hover {
    color: var(--uc-primary-color);
}

.faq-content .faq-question i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-content .faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-content .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-content .faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-content .faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--uc-body-text);
    opacity: 0.85;
}

/* Newsletter - Modern Design */
.newsletter-modern {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--uc-primary-color), var(--uc-secondary-color));
    color: white;
}

.newsletter-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.newsletter-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
}

.newsletter-subtitle {
    font-size: 18px;
    opacity: 0.95;
}

.newsletter-form-modern {
    background: white;
    border-radius: 60px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-group-modern {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-group-modern i {
    color: var(--uc-primary-color);
    font-size: 20px;
    margin-left: 16px;
}

.form-group-modern input {
    flex: 1;
    border: none;
    padding: 16px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.form-group-modern button {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--uc-primary-color), var(--uc-secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group-modern button:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.newsletter-privacy {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 12px;
    text-align: center;
}

/* Utility Buttons */
.btn-outline-modern {
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid var(--uc-primary-color);
    color: var(--uc-primary-color);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background: var(--uc-primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.view-all-container {
    text-align: center;
    margin-top: 48px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image-content {
        display: none;
    }
    
    .hero-main-title {
        font-size: 42px;
    }
    
    .features-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .faq-layout-modern {
        grid-template-columns: 1fr;
    }
    
    .faq-sidebar {
        position: static;
    }
    
    .newsletter-content-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero-section-modern {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .hero-main-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .hero-trust-indicators {
        flex-direction: column;
        gap: 16px;
    }
    
    .section-title-modern {
        font-size: 32px;
    }
    
    .features-grid-modern,
    .blog-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .category-masonry-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card-modern.large {
        grid-row: span 1;
        height: 300px;
    }
    
    .testimonial-stats-modern {
        grid-template-columns: 1fr;
    }
    
    .form-group-modern {
        flex-direction: column;
    }
    
    .form-group-modern button {
        width: 100%;
        justify-content: center;
    }
}
