:root {
    --primary: #ff6b6b;
    --primary-dark: #d32f2f;
    --secondary: #fad0c4;
    --text: #333;
    --light: #fff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: #fff9f9;
    overflow-x: hidden;
}

/* Efeito de Corações */
#hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.heart {
    position: absolute;
    font-size: 20px;
    color: rgba(255, 107, 107, 0.5);
    animation: fall linear forwards;
    pointer-events: none;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) translateX(calc(-50px + 100px * var(--direction))) rotate(360deg);
        opacity: 0;
    }
}

/* Cabeçalho */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.cta-header {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cta-header:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 180px 5% 100px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h2 span {
    background: linear-gradient(to right, white, #ffebee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-container {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.cta-primary, .cta-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-primary {
    background: white;
    color: var(--primary);
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Phone Preview */
.phone-preview {
    position: relative;
    z-index: 1;
    margin-right: -50px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #111;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.preview-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.couple-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.couple-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.couple-header p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-preview {
    flex: 1;
    overflow: hidden;
}

.gallery-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-preview:hover img {
    transform: scale(1.05);
}

.moments-preview {
    background: #fff0f0;
    padding: 15px;
    text-align: center;
}

.moments-preview p {
    color: var(--primary-dark);
    font-style: italic;
}

/* Features Section */
.features {
    padding: 100px 5%;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features h2 span {
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.feature-card p {
    margin-bottom: 20px;
    color: #666;
}

.feature-cta {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.feature-cta:hover {
    background: var(--primary-dark);
}

/* Demo Section */
.demo-section {
    display: flex;
    align-items: center;
    padding: 100px 5%;
    background: linear-gradient(135deg, #fad0c4 0%, #ffd1ff 100%);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.1)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom;
}

.demo-content {
    flex: 1;
    max-width: 600px;
}

.demo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.demo-content h2 span {
    color: var(--primary-dark);
}

.demo-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #333;
}

.demo-animation {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.animation-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    animation-delay: var(--delay);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.step-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.animation-step p {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 60px 5% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Responsividade */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 150px 5% 80px;
    }
    
    .phone-preview {
        margin: 40px auto 0;
    }
    
    .demo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .demo-content {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .cta-container {
        flex-direction: column;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .demo-animation {
        flex-wrap: wrap;
    }
}

.step {
    transition: opacity 0.3s ease;
  }