/* Hero Section */
.hero {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Background shape decoration */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background-color: var(--primary-green-dark);
    transform: rotate(15deg);
    z-index: 0;
    border-radius: 100px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    background-color: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent-orange);
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-users {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatars {
    display: flex;
    align-items: center;
}

.user-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    margin-left: -12px;
}

.user-avatars img:first-child {
    margin-left: 0;
}

.avatar-count {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-left: -12px;
    border: 2px solid var(--primary-green);
    z-index: 10;
}

.hero-users p {
    margin: 0;
    font-size: 14px;
    color: #e2e8f0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.mockup {
    max-height: 600px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: floatImage 4s ease-in-out infinite;
}

/* Trust Badges */
.trust-badges {
    background-color: var(--white);
    padding: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
    margin-top: -30px;
    border-radius: 12px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.trust-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 16px;
    border-right: 1px solid var(--border-color);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item .icon {
    width: 48px;
    height: 48px;
    background-color: rgba(4, 66, 34, 0.1);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.trust-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 12px;
    color: var(--text-gray);
}

/* Common Section Padding */
.section-padding {
    padding: 100px 0;
}

/* Features Grid */
.features {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

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

.feature-card .icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card .icon.accent {
    background-color: var(--accent-orange);
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* How It Works */
.how-it-works {
    background-color: var(--primary-green-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 50%, rgba(4, 66, 34, 0.8), transparent 50%);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

/* Connecting Line */
.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12%;
    width: 76%;
    height: 2px;
    border-top: 2px dashed rgba(255,255,255,0.2);
    z-index: 0;
}

@media (max-width: 992px) {
    .steps-container::before {
        display: none;
    }
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-green);
    border: 4px solid var(--primary-green-dark);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
}

.step-icon.accent {
    background-color: var(--accent-orange);
}

.step-num {
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 8px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: #cbd5e1;
}

/* Stats */
.stats {
    padding: 60px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.stat-item i {
    font-size: 40px;
    color: var(--primary-green);
}

.stat-item:nth-child(even) i {
    color: var(--accent-orange);
}

.stat-item h3 {
    font-size: 32px;
}

.stat-item p {
    color: var(--text-gray);
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.user-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.stars {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 4px;
}

.user-info h4 {
    font-size: 16px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text-gray);
    font-style: italic;
}

/* Bottom CTA */
.bottom-cta {
    background-color: var(--primary-green);
    padding: 60px 0 0;
    overflow: hidden;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-content {
    flex: 1;
    color: var(--white);
    padding-bottom: 60px;
}

.cta-content h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    background-color: black;
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.store-btn:hover {
    background-color: #333;
}

.store-btn i {
    font-size: 28px;
    margin-right: 12px;
}

.store-btn div {
    display: flex;
    flex-direction: column;
}

.store-btn span {
    font-size: 10px;
    text-transform: uppercase;
    line-height: 1;
}

.store-btn br {
    display: none;
}

.store-btn div {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.cta-image img {
    display: block;
    max-height: 400px;
    margin-bottom: -50px;
    animation: floatImage 5s ease-in-out infinite;
}

/* Footer */
footer {
    background-color: var(--primary-green-dark);
    color: white;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col p {
    color: #cbd5e1;
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links a:hover {
    background-color: var(--accent-orange);
}

footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul a {
    color: #cbd5e1;
    font-size: 14px;
}

footer ul a:hover {
    color: var(--accent-orange);
}

.app-col .store-btn {
    margin-bottom: 16px;
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero-container, .cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons, .hero-users {
        justify-content: center;
    }
    
    .trust-container, .steps-container, .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .trust-item {
        border-right: none;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trust-container, .steps-container, .stats-container, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }

    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .hero-buttons .btn, .cta-buttons .store-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Generic Page Styles */
.page-header {
    background-color: var(--primary-green);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    color: #cbd5e1;
}

.page-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 16px;
    color: var(--primary-green);
}

.page-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.page-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-gray);
}

.page-content li {
    margin-bottom: 8px;
}
