/* Estilos Gerais */
:root {
    --primary-color: #00f2ea;
    --secondary-color: #ff0050;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --gray-light: #f5f5f5;
    --gray-dark: #666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #222;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* Menu Superior */
.top-menu {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-name a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
    background: var(--gradient);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" fill-opacity="0.1" d="M0,224L48,208C96,192,192,160,288,154.7C384,149,480,171,576,176C672,181,768,171,864,144C960,117,1056,75,1152,80C1248,85,1344,139,1392,165.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Download Section */
.download-section {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-top: -50px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}

.download-section h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.download-section p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.input-group {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.input-group input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.input-group button {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.input-group button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.input-group button i {
    margin-right: 8px;
}

.formato-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.formato-info i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Features Section */
.features-section {
    background-color: #f9f9f9;
    padding: 70px 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background: var(--gradient);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* How it Works Section */
.how-it-works-section {
    background-color: #fff;
    padding: 70px 0;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background-color: #f9f9f9;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.step-icon i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.step-card h3 {
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Benefits Section */
.benefits-section {
    background-color: #f9f9f9;
    padding: 70px 0;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background-color: #fff;
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.benefit-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.benefit-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,154.7C384,128,480,96,576,85.3C672,75,768,85,864,117.3C960,149,1056,203,1152,208C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: white;
    color: var(--secondary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: var(--secondary-color);
}

.cta-button i {
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: #222;
    color: #ccc;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin-bottom: 0;
    color: #999;
}

/* Loader */
.loader {
    display: none;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group button {
        width: 100%;
    }

    .features-grid,
    .steps-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Result */
.video-result {
    margin-top: 40px;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.video-result::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(40px);
    opacity: 0.3;
    z-index: 0;
}

.video-content {
    position: relative;
    z-index: 1;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.creator-info {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.creator-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.creator-details h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.creator-username {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin: 0;
}

.download-area {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.download-button {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.primary-btn {
    background: var(--gradient);
    color: white;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.secondary-btn {
    background: white;
    color: var(--text-color);
    border: 1px solid #eaeaea;
}

.secondary-btn:hover {
    background: #f9f9f9;
    color: var(--secondary-color);
}

.download-button i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.video-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 10px;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-count {
    font-weight: bold;
    font-size: 1.1rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

/* Error Message */
.error-message {
    background: #ffe5e5;
    color: #d63031;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
}

/* Nova Seção: TikTok Guide */
.tiktok-guide-section {
    background-color: #fff;
    padding: 70px 0;
}

.guide-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.guide-text {
    flex: 1;
    min-width: 300px;
}

.guide-text h3 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #222;
}

.guide-text h3:first-child {
    margin-top: 0;
}

.guide-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.guide-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 250px;
}

.stat-box {
    background: var(--gray-light);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-text {
    color: var(--text-light);
    font-size: 1rem;
}

/* Informative Section */
.informative-section {
    background-color: #f9f9f9;
    padding: 70px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #222;
}

.info-card p {
    margin-bottom: 0;
    line-height: 1.7;
}

/* Mini FAQ Section */
.mini-faq-section {
    background-color: #fff;
    padding: 70px 0;
}

.faq-container {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-right: 15px;
    margin-top: 3px;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #222;
}

.faq-answer {
    padding-left: 35px;
}

.faq-answer p {
    margin-bottom: 0;
    line-height: 1.7;
}

.see-more-faq {
    margin-top: 40px;
    text-align: center;
}

.faq-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #f5f5f5;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.faq-link:hover {
    background-color: #eeeeee;
}

.faq-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.faq-link:hover i {
    transform: translateX(5px);
}