/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores baseadas no app */
    --brand: #D97BA6;
    --brand-hover: #C66B96;
    --brand-dark: #B55A85;
    --soft: #FEF5F9;
    --background: #FEFBFC;
    --card: #FFFFFF;
    --text-primary: #2D1B2E;
    --text-secondary: #6B4F6E;
    --text-muted: #9A7D9C;
    --border-light: #F0E5ED;
    --success: #22C55E;

    /* Tipografia */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(217, 123, 166, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(217, 123, 166, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(217, 123, 166, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(217, 123, 166, 0.15);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.blur-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
}

.blur-1 {
    top: -200px;
    right: -200px;
    background: var(--brand);
}

.blur-2 {
    bottom: -200px;
    left: -200px;
    background: var(--brand-hover);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

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

/* Logo */
.logo-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0) rotate(-180deg);
    }
    to {
        transform: scale(1) rotate(0deg);
    }
}

.logo-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-hover));
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(217, 123, 166, 0.3);
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    color: white;
    z-index: 10;
}

.logo-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-hover));
    border-radius: 24px;
    filter: blur(30px);
    opacity: 0.5;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--brand), var(--brand-hover));
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

/* Typography */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* CTA */
.cta-container {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.email-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto 1rem;
    flex-direction: column;
}

@media (min-width: 640px) {
    .email-form {
        flex-direction: row;
    }
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.email-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(217, 123, 166, 0.1);
}

.email-input::placeholder {
    color: var(--text-muted);
}

.cta-button {
    padding: 1rem 2rem;
    background: var(--brand-hover);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

.cta-button:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-button:active {
    transform: translateY(0);
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

.form-note.light {
    color: var(--text-secondary);
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.avatars {
    display: flex;
    margin-right: -0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 3px solid white;
    margin-right: -0.75rem;
    box-shadow: var(--shadow-md);
}

.social-proof-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.social-proof-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

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

.feature-card {
    padding: 2rem;
    background: var(--background);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--soft) 0%, var(--background) 100%);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--brand), var(--brand-hover));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--brand);
    font-weight: bold;
}

@media (max-width: 768px) {
    .step-arrow {
        display: none;
    }
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-hover));
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(80px);
}

.cta-section::before {
    top: -200px;
    left: -200px;
}

.cta-section::after {
    bottom: -200px;
    right: -200px;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-form .email-input {
    background: white;
    border-color: transparent;
}

.cta-form .cta-button {
    background: var(--text-primary);
}

.cta-form .cta-button:hover {
    background: var(--text-secondary);
}

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

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--brand);
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(45, 27, 46, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.modal-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-button {
    padding: 0.875rem 2rem;
    background: var(--brand-hover);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-button:hover {
    filter: brightness(0.9);
}

.modal-button:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 640px) {
    .hero {
        padding: 4rem 0;
    }

    .features,
    .how-it-works,
    .cta-section {
        padding: 4rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
