
/* Import base styles */
@import url('styles.css');

/* Merchants Page Specific Styles */

.nav-link.active {
    color: var(--english-red);
}

/* Merchants Hero Section */
.merchants-hero {
    background: var(--beige);
    padding: 100px 0 40px; /* Changed from 80px to 40px */
    /* min-height: 80vh; */ /* Commented out min-height */
    display: flex;
    align-items: flex-start;
    padding-top: 200px;
}

.merchants-hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.merchants-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.merchants-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 600px;
}

.merchants-cta {
    display: flex;
    gap: 1.5rem;
}

/* Benefits Section */
.benefits-section {
    padding: 8rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* 3x2 layout with offset bottom row when container can fit 3 columns */
@media (min-width: 950px) {
    .benefits-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .benefit-card:nth-child(1) {
        grid-column: 1 / 3;
    }
    
    .benefit-card:nth-child(2) {
        grid-column: 3 / 5;
    }
    
    .benefit-card:nth-child(3) {
        grid-column: 5 / 7;
    }
    
    .benefit-card:nth-child(4) {
        grid-column: 2 / 4;
        grid-row: 2;
    }
    
    .benefit-card:nth-child(5) {
        grid-column: 4 / 6;
        grid-row: 2;
    }
}

.benefit-card {
    background: var(--beige);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(160, 82, 79, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: var(--beige);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.features-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-check {
    width: 30px;
    height: 30px;
    background: var(--english-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: phoneFloat 3s ease-in-out infinite;
}

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

.dashboard-header {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--english-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.dashboard-chart {
    grid-column: 1 / -1;
    display: flex;
    align-items: end;
    gap: 10px;
    height: 100px;
    margin-top: 1rem;
}

.chart-bar {
    flex: 1;
    background: var(--english-red);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    animation: chartGrow 2s ease-out;
}

@keyframes chartGrow {
    from { height: 0; }
    to { height: inherit; }
}

/* Community Section */
.community-section {
    padding: 8rem 0;
    background: white;
    text-align: center;
}

.community-description {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.community-stat {
    text-align: center;
    padding: 2rem;
    background: var(--beige);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.community-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(160, 82, 79, 0.1);
}

/* Final CTA Section */
.final-cta-section {
    padding: 8rem 0;
    background: var(--dark-navy);
    color: white;
    text-align: center;
}

.final-cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.final-cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .merchants-hero {
        padding-top: 140px;
        padding-bottom: 30px; /* Reduced mobile bottom padding */
    }
    
    .merchants-cta,
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .community-stats {
        grid-template-columns: 1fr;
    }
}
