/* SabaMas - Pasar Tradisional Digital CSS Styles */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #4CAF50;
    --accent-color: #8BC34A;
    --light-color: #E8F5E9;
    --dark-color: #1B5E20;
    --white-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --text-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background-color: transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-scrolled {
    background-color: var(--white-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header-scrolled::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientMove 5s ease infinite;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    margin-right: 10px;
    transition: transform 0.5s ease;
}

.logo:hover img {
    transform: rotate(360deg);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    display: inline-block;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::before,
.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links li.active a {
    color: var(--primary-color);
}

.nav-links li.active a::before,
.nav-links li.active a::after {
    transform: scaleX(1);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

/* Hero Section with Slideshow */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white-color);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-container form {
    display: flex;
    width: 100%;
    background-color: var(--white-color);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#searchInput {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    border-radius: 50px 0 0 50px;
}

.search-container button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.2rem;
    border-radius: 0 50px 50px 0;
}

.search-container button:hover {
    background-color: var(--dark-color);
}

.search-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.search-btn:hover {
    background-color: var(--dark-color);
}

/* Features Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.features {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 20 L20 0 L40 20 L20 40 Z" fill="%234CAF50" fill-opacity="0.05"/></svg>');
    z-index: 0;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.15);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    font-size: 2rem;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.feature-content {
    padding: 20px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.feature-card:hover .feature-title::after {
    width: 80px;
}

.feature-desc {
    color: var(--text-color);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .features-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .feature-card {
        padding: 5px;
    }
    
    .feature-icon {
        font-size: 1.7rem;
    }
}

/* App Showcase Section */
.app-showcase {
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.app-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(76, 175, 80, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 0;
}

.app-showcase::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(76, 175, 80, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 0;
}

.app-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 40px;
}

.app-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.app-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.app-desc {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-color);
}

.app-features-list {
    list-style: none;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.app-features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 10px;
    background-color: rgba(76, 175, 80, 0.05);
    border-left: 3px solid var(--primary-color);
}

.app-features-list li:hover {
    transform: translateX(5px);
    background-color: rgba(76, 175, 80, 0.1);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.1);
}

.app-features-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-badges {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.app-badge {
    display: inline-block;
    transition: all 0.3s ease;
    max-width: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.app-badge img {
    width: 100%;
    height: auto;
    display: block;
}

.app-screenshots {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px;
    position: relative;
    z-index: 1;
    min-width: 320px;
}

.app-device-frame {
    position: relative;
    padding: 15px;
    border-radius: 40px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    margin: 0 auto;
}

.app-device-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background-color: #111;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.app-screenshot {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.app-screenshot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(76, 175, 80, 0.2), rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.app-screenshot:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.app-screenshot:hover::before {
    opacity: 1;
}

.app-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.app-screenshot:hover img {
    transform: scale(1.05);
}

.main-screenshot {
    max-width: 100%;
    margin-bottom: 5px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.screenshot-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(20px);
}

.app-screenshot:hover .screenshot-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 992px) {
    .app-container {
        flex-direction: column;
    }
    
    .app-content, .app-screenshots {
        width: 100%;
    }
    
    .app-features-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .app-features-list {
        grid-template-columns: 1fr;
    }
    
    .app-badges {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

/* Markets Section */
.markets {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.markets::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><rect width="30" height="30" fill="none"/><path d="M15 5 L25 15 L15 25 L5 15 Z" stroke="%234CAF50" stroke-width="1" fill="none" stroke-opacity="0.1"/></svg>');
    z-index: 0;
}

.markets-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.market-card {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 4px solid transparent;
}

.market-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary-color);
}

.market-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.market-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.market-card:hover .market-img::after {
    opacity: 1;
}

.market-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.market-content {
    padding: 25px;
    position: relative;
}

.market-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.market-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.market-card:hover .market-title::after {
    width: 100px;
}

.market-location {
    display: flex;
    align-items: center;
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.market-location i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.market-desc {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.7;
}

.market-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.market-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.market-btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.market-btn:hover i {
    transform: translateX(5px);
}

.market-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

@media (max-width: 992px) {
    .markets-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .market-img {
        height: 200px;
    }
    
    .market-content {
        padding: 20px;
    }
    
    .market-title {
        font-size: 1.3rem;
    }
}

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

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z" fill="%234CAF50" fill-opacity="0.1"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-author-info p {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .testimonials-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--white-color);
}

.cta-desc {
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn i {
    margin-right: 10px;
}

.cta-btn:hover {
    background-color: var(--light-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn.outline {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

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

@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-desc {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .cta-btn {
        padding: 12px 25px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-color);
}

.footer-desc {
    margin-bottom: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--primary-color);
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-links a:hover {
    color: var(--white-color);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-item i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn.pulse {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--white-color);
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--white-color);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .app-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .hero-content {
        text-align: center;
        padding: 120px 0 100px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }

    .app-container {
        flex-direction: column;
    }

    .app-content,
    .app-screenshots {
        width: 100%;
    }

    .app-screenshots {
        margin-top: 40px;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: var(--white-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 30px;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0 0 20px 0;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .search-container form {
        flex-direction: column;
        border-radius: 10px;
        overflow: visible;
    }

    #searchInput {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 10px;
        text-align: center;
    }

    .search-container button {
        width: 100%;
        border-radius: 10px;
        padding: 12px;
    }

    .features-container,
    .markets-container,
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .app-content, .app-screenshots {
        min-width: 100%;
    }
    
    .app-screenshots {
        margin-top: 30px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }
    
    .whatsapp-btn i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-card,
    .market-card,
    .testimonial-card {
        padding: 20px;
        max-width: 100%;
    }
    
    .feature-title,
    .market-title {
        font-size: 1.2rem;
    }
    
    .app-title {
        font-size: 1.6rem;
    }
    
    .app-desc {
        font-size: 0.9rem;
    }
    
    .screenshots-grid {
        gap: 10px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}