/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1A5544;
    --primary-dark: #0f3529;
    --secondary-color: #e8f5f1;
    --accent-color: #2d7a64;
    --text-primary: #2c3e50;
    --text-secondary: #666;
    --text-light: #999;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --bg-purple: #9b9bb8;
    --bg-teal: #b4c9c4;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'DM Serif Display', 'Noto Serif Display', serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo svg {
    fill: var(--primary-color);
}

.search-bar {
    flex: 1;
    max-width: 600px;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 20px;
    gap: 10px;
}

.search-bar input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 15px;
    color: var(--text-primary);
}

.search-bar input::placeholder {
    color: var(--text-light);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary.large,
.btn-outline.large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 40px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    justify-content: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-right {
    position: relative;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hero-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-card-img {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    transition: transform 0.25s ease;
}

.hero-card:hover .hero-card-img {
    transform: scale(1.05);
}

.hero-card-label {
    padding: 10px 12px;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: var(--bg-light);
}

.categories h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-card .category-name {
    padding: 14px 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.tag {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--secondary-color);
    border-color: var(--accent-color);
}

.tag.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.loading-icon {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--bg-purple);
    color: var(--white);
}

.benefits h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.benefit-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.benefit-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--white);
}

.stats h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.stats-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.slider-btn:hover {
    background: var(--secondary-color);
    border-color: var(--accent-color);
}

.testimonial-content {
    flex: 1;
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.testimonial-logo {
    margin-bottom: 30px;
    text-align: center;
}

.testimonial-logo img {
    height: 40px;
}

blockquote {
    margin-bottom: 30px;
}

blockquote p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    text-align: center;
}

.testimonial-author strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-light);
}

/* How to Buy Section */
.how-to-buy {
    padding: 80px 0;
    background: var(--bg-teal);
}

.how-to-buy h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.step-item {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    min-width: 200px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 20px;
}

.step-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 20px auto;
    color: var(--accent-color);
}

.step-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-arrow {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--secondary-color);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    font-family: inherit;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.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 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1500;
}

.modal-backdrop.active {
    display: flex;
}

.modal-panel {
    background: #f9fafb;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 24px 20px;
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
}

.icon-close {
    width: 24px;
    height: 24px;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.modal-logo {
    fill: var(--text-secondary);
}

.modal-title {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    text-align: center;
    color: var(--text-primary);
}

.modal-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-form {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-primary);
}

.modal-greeting {
    font-size: 16px;
    font-weight: 500;
}

.modal-field {
    display: flex;
    flex-direction: column;
}

.modal-input {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.modal-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 85, 68, 0.12);
}

.modal-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.icon-arrow {
    width: 16px;
    height: 16px;
}

.modal-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.modal-link {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .modal-panel {
        padding: 18px 16px;
    }

    .modal-title {
        font-size: 20px;
    }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-arrow {
        display: none;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-left h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .categories h2,
    .stats h2,
    .testimonials h2,
    .how-to-buy h2,
    .faq h2 {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-left h1 {
        font-size: 28px;
    }

    .benefits,
    .stats,
    .testimonials,
    .how-to-buy,
    .cta-section,
    .faq {
        padding: 60px 0;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }

    .auth-buttons button {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-left,
.hero-right {
    animation: fadeInUp 0.8s ease-out;
}

.benefit-item,
.stat-item {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
