<!DOCTYPE html>
<html lang="pt-BR">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?= $storeName ?? 'Minha Loja' ?> - Landing Page</title>
    <link rel="stylesheet" href="https://code.iconify.design/iconify-icon/1.0.7/iconify-icon.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: <?= $primaryColor ?? '#CCA43B' ?>;
            --secondary-color: <?= $secondaryColor ?? '#1A1A1A' ?>;
            --text-primary: #1A1A1A;
            --text-secondary: #666666;
            --bg-light: #F9F9F9;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            text-align: center;
            padding: 2rem;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            animation: float 20s infinite ease-in-out;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            50% { transform: translate(-20px, 20px) rotate(180deg); }
        }

        .hero-content {
            max-width: 800px;
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            animation: fadeInUp 0.8s ease-out;
        }

        .hero p {
            font-size: clamp(1.1rem, 2vw, 1.5rem);
            margin-bottom: 2.5rem;
            opacity: 0.95;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .cta-button {
            display: inline-block;
            padding: 1.2rem 3rem;
            background: white;
            color: var(--secondary-color);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Features Section */
        .features {
            padding: 6rem 2rem;
            background: white;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            margin-bottom: 1rem;
            color: var(--secondary-color);
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: var(--text-secondary);
            margin-bottom: 4rem;
        }

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

        .feature-card {
            text-align: center;
            padding: 2.5rem;
            border-radius: 20px;
            background: var(--bg-light);
            transition: all 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--secondary-color);
        }

        .feature-card p {
            color: var(--text-secondary);
            line-height: 1.8;
        }

        /* Testimonials Section */
        .testimonials {
            padding: 6rem 2rem;
            background: var(--bg-light);
        }

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

        .testimonial-card {
            background: white;
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

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

        .testimonial-rating {
            color: var(--primary-color);
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .testimonial-text {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: var(--text-secondary);
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .testimonial-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.2rem;
        }

        .testimonial-info h4 {
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }

        .testimonial-info p {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        /* CTA Section */
        .cta-section {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
            color: white;
            text-align: center;
        }

        .cta-section h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
        }

        .cta-section p {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
        }

        /* Footer */
        .footer {
            padding: 3rem 2rem;
            background: var(--secondary-color);
            color: white;
            text-align: center;
        }

        .footer p {
            opacity: 0.8;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero {
                min-height: 90vh;
            }

            .features, .testimonials, .cta-section {
                padding: 4rem 1.5rem;
            }

            .features-grid, .testimonials-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero">
        <div class="hero-content">
            <h1><?= $heroTitle ?? 'Transforme Seu Negócio' ?></h1>
            <p><?= $heroSubtitle ?? 'A solução completa para gestão e vendas online' ?></p>
            <a href="<?= $ctaUrl ?? '#contato' ?>" class="cta-button">
                <?= $ctaText ?? 'Começar Agora' ?>
            </a>
        </div>
    </section>

    <!-- Features Section -->
    <section class="features">
        <div class="container">
            <h2 class="section-title">Por Que Escolher Nossa Plataforma?</h2>
            <p class="section-subtitle">Recursos poderosos para impulsionar suas vendas</p>
            
            <div class="features-grid">
                <div class="feature-card">
                    <div class="feature-icon">
                        <iconify-icon icon="solar:rocket-bold"></iconify-icon>
                    </div>
                    <h3>Rápido e Fácil</h3>
                    <p>Configure sua loja online em minutos. Interface intuitiva e processo simplificado.</p>
                </div>

                <div class="feature-card">
                    <div class="feature-icon">
                        <iconify-icon icon="solar:shield-check-bold"></iconify-icon>
                    </div>
                    <h3>100% Seguro</h3>
                    <p>Pagamentos seguros e dados criptografados. Sua segurança é nossa prioridade.</p>
                </div>

                <div class="feature-card">
                    <div class="feature-icon">
                        <iconify-icon icon="solar:chart-bold"></iconify-icon>
                    </div>
                    <h3>Análises Detalhadas</h3>
                    <p>Acompanhe suas vendas, clientes e performance em tempo real.</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Testimonials Section -->
    <section class="testimonials">
        <div class="container">
            <h2 class="section-title">O Que Dizem Nossos Clientes</h2>
            <p class="section-subtitle">Milhares de empresas confiam em nossa plataforma</p>
            
            <div class="testimonials-grid">
                <div class="testimonial-card">
                    <div class="testimonial-rating">★★★★★</div>
                    <p class="testimonial-text">"Plataforma incrível! Aumentamos nossas vendas em 300% no primeiro mês."</p>
                    <div class="testimonial-author">
                        <div class="testimonial-avatar">JS</div>
                        <div class="testimonial-info">
                            <h4>João Silva</h4>
                            <p>CEO, Empresa X</p>
                        </div>
                    </div>
                </div>

                <div class="testimonial-card">
                    <div class="testimonial-rating">★★★★★</div>
                    <p class="testimonial-text">"Suporte excepcional e funcionalidades que realmente fazem diferença."</p>
                    <div class="testimonial-author">
                        <div class="testimonial-avatar">MO</div>
                        <div class="testimonial-info">
                            <h4>Maria Oliveira</h4>
                            <p>Proprietária, Loja Y</p>
                        </div>
                    </div>
                </div>

                <div class="testimonial-card">
                    <div class="testimonial-rating">★★★★★</div>
                    <p class="testimonial-text">"Melhor investimento que fizemos. Interface simples e resultados rápidos!"</p>
                    <div class="testimonial-author">
                        <div class="testimonial-avatar">PC</div>
                        <div class="testimonial-info">
                            <h4>Pedro Costa</h4>
                            <p>Gerente, Negócio Z</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="cta-section">
        <div class="container">
            <h2>Pronto Para Começar?</h2>
            <p>Junte-se a milhares de empresas que já transformaram seus negócios</p>
            <a href="<?= $ctaUrl ?? '#contato' ?>" class="cta-button">
                <?= $ctaText ?? 'Começar Agora' ?>
            </a>
        </div>
    </section>

    <!-- Footer -->
    <footer class="footer">
        <div class="container">
            <p>&copy; <?= date('Y') ?> <?= $storeName ?? 'Minha Loja' ?>. Todos os direitos reservados.</p>
        </div>
    </footer>

    <script src="https://code.iconify.design/iconify-icon/1.0.7/iconify-icon.min.js"></script>
</body>
</html>
