/* Hero Section */
.hero {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    text-align: center;
}

/* Imagem de fundo sobreposta para hero */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 1;
    mix-blend-mode: overlay;
}

.hero-content {
    color: var(--light-color);
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

/* Botão CTA */
.cta-btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-size: 200% auto;
    color: var(--light-color);
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.cta-btn:hover {
    background-position: right center;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn i {
    transition: transform 0.5s ease;
}

.cta-btn:hover i {
    transform: scale(1.2) rotate(15deg);
}

.hearts-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    animation: float 10s linear infinite;
}

/* App Section */
.app-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    transition: background-color var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.section-wave {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ff4e6e' fill-opacity='1' d='M0,32L48,37.3C96,43,192,53,288,58.7C384,64,480,64,576,58.7C672,53,768,43,864,48C960,53,1056,75,1152,74.7C1248,75,1344,53,1392,42.7L1440,32L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

.app-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 0 20px;
}

.app-info {
    display: flex;
    flex-direction: column;
}

.app-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.app-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 30px;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.app-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-color);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 78, 110, 0.2);
    flex-shrink: 0;
}

.feature-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.feature-info p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
}

.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .app-button {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .app-button:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.app-button img {
    height: 30px;
}

.app-button .icon {
    font-size: 2rem;
    color: var(--text-color);
}

.app-button .button-text {
    display: flex;
    flex-direction: column;
}

.app-button .button-text small {
    font-size: 0.7rem;
    opacity: 0.7;
}

.app-button .button-text span {
    font-size: 1.1rem;
    font-weight: 600;
}

.app-mockup {
    display: flex;
    justify-content: center;
    position: relative;
}

.app-screenshot {
    width: 270px;
    height: 550px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 10px solid #222;
    transition: transform 0.3s ease;
}

.app-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-screenshot:hover {
    transform: translateY(-10px);
}

.app-screenshot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 20px;
    background-color: #222;
    border-radius: 0 0 10px 10px;
    z-index: 3;
}

.screenshot-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(5px);
}

.floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    top: 10%;
    left: 5%;
    animation: floatAnimation 10s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    bottom: 10%;
    right: 5%;
    animation: floatAnimation 15s ease-in-out infinite reverse;
}

.floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    bottom: 30%;
    left: 15%;
    animation: floatAnimation 12s ease-in-out infinite 2s;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, 30px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    transition: background-color var(--transition-speed) ease;
    position: relative;
}

.blog-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,160L48,181.3C96,203,192,245,288,234.7C384,224,480,160,576,122.7C672,85,768,75,864,90.7C960,107,1056,149,1152,154.7C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

[data-theme="dark"] .blog-wave {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%231a1a1a' fill-opacity='1' d='M0,160L48,181.3C96,203,192,245,288,234.7C384,224,480,160,576,122.7C672,85,768,75,864,90.7C960,107,1056,149,1152,154.7C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.blog-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.blog-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .blog-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.blog-card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
}

.blog-author {
    display: flex;
    align-items: center;
}

.blog-date {
    display: flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 5px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateX(5px);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

.view-all-btn {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.blog-btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-size: 200% auto;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 78, 110, 0.3);
}

.blog-btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 78, 110, 0.4);
}

.blog-btn i {
    transition: transform 0.3s ease;
}

.blog-btn:hover i {
    transform: translateX(3px);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--testimonial-bg);
    transition: background-color var(--transition-speed) ease;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.testimonials-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
    position: relative;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .testimonial:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 15px;
}

.testimonial-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonial-info p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(255, 78, 110, 0.1);
    font-size: 3rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 15px;
}

.carousel-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 78, 110, 0.3);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
    width: 25px;
    border-radius: 5px;
}

/* Responsividade para página inicial */
@media (max-width: 1024px) {
    .testimonial {
        flex: 0 0 calc(50% - 20px);
    }
    
    .app-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .app-features {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .app-feature {
        justify-content: center;
        text-align: left;
    }

    .app-buttons {
        justify-content: center;
    }

    .app-mockup {
        margin-top: 50px;
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .testimonial {
        flex: 0 0 calc(100% - 20px);
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        padding: 30px 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .app-screenshot {
        width: 230px;
        height: 470px;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
}