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

:root {
    /* Cores do app Flutter */
    --primary: #4A596D;
    --on-primary: #051754;
    --on-primary-container: #999999;
    --secondary: #999999;
    --blue-gray-100: #D9D9D9;
    --gray-100: #F2F2F4;
    --indigo-a100: #97AFFF;
    --indigo-a200: #5271FF;
    --teal-400: #259F76;
    --white-a700: #FDFDFD;
    --white-a70001: #FFFFFF;
    --slate-gray: #FFA07A;
    --cadet-blue: #5F9EA0;
}

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

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

/* Header */
.header {
    background: rgba(253, 253, 253, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--blue-gray-100);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--on-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

/* Language Selector */
.language-selector {
    margin-left: 20px;
}

.language-selector select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-selector select option {
    background: #2c3e50;
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--on-primary);
    font-weight: 600;
    font-size: 1.5rem;
}

.logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo::before {
    content: 'H';
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4f46e5;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: #4F46E5;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: #10B981;
    color: white;
    border: 2px solid #10B981;
}

.btn-secondary:hover {
    background: #059669;
    color: white;
    transform: translateY(-2px);
    border-color: #059669;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--white-a70001) 0%, var(--gray-100) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--on-primary);
}

.highlight {
    color: var(--indigo-a200);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--on-primary);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.6;
}

.user-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.user-type-card {
    background: var(--white-a70001);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.user-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.user-type-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #4F46E5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.user-type-icon svg {
    width: 40px;
    height: 40px;
}

.user-type-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--on-primary);
}

.user-type-card p {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.user-type-card .btn {
    margin-top: auto;
    align-self: center;
    width: fit-content;
    min-width: 200px;
}

.client-card:hover .user-type-icon {
    background: #10B981;
    transform: scale(1.1);
}

.professional-card:hover .user-type-icon {
    background: #F59E0B;
    transform: scale(1.1);
}

/* Novos elementos para as interfaces */
.search-bar {
    background: #f3f4f6;
    border-radius: 20px;
    padding: 8px 12px;
    margin-bottom: 12px;
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 12px;
}

.profile-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 50%;
}

.stats-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.stat {
    flex: 1;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 6px;
    text-align: center;
    font-size: 0.7rem;
}

.stat strong {
    display: block;
    color: #4f46e5;
    font-size: 0.9rem;
}

.service-management {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-item {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 8px;
    font-size: 0.7rem;
    text-align: center;
    color: #374151;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phones-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 240px;
    height: 480px;
    background: #1f2937;
    border-radius: 25px;
    padding: 15px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.client-phone {
    transform: rotate(-8deg);
}

.professional-phone {
    transform: rotate(8deg);
}

.phone-mockup:hover {
    transform: scale(1.05) rotate(0deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.app-logo {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 8px;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin: 0 auto 10px;
}

.service-icon.home { background: linear-gradient(135deg, #10b981, #059669); }
.service-icon.wellness { background: linear-gradient(135deg, #f59e0b, #d97706); }
.service-icon.auto { background: linear-gradient(135deg, #ef4444, #dc2626); }
.service-icon.pets { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--gray-100);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--on-primary);
}

.features-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--white-a70001);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--blue-gray-100);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--indigo-a200);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 1rem;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Apps Section */
.apps {
    padding: 80px 0;
    background: white;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.apps-grid.single-app {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 3rem auto 0;
}

.app-card.featured {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #4f46e5;
    transform: scale(1.02);
}

.app-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.app-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.app-icon {
    flex-shrink: 0;
}

.app-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.app-logo.user {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.app-logo.user::before {
    content: 'U';
}

.app-logo.pro {
    background: linear-gradient(135deg, #10b981, #059669);
}

.app-logo.pro::before {
    content: 'P';
}

.app-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.app-description {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    height: 60px;
    width: auto;
    max-width: 200px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-info {
    color: #4f46e5;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--on-primary);
    color: var(--white-a700);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1f2937;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--blue-gray-100);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white-a700);
}

.footer-bottom {
    border-top: 1px solid var(--primary);
    padding-top: 1rem;
    text-align: center;
}

.copyright {
    color: var(--blue-gray-100);
}

/* View States */
.client-view {
    display: block;
}

.professional-view {
    display: none;
}

.show-professional .client-view {
    display: none;
}

.show-professional .professional-view {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-links {
        display: none;
    }
    
    .user-type-selector {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .phones-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .client-phone,
    .professional-phone {
        transform: rotate(0deg);
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .app-info {
        flex-direction: column;
        text-align: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .feature-card,
    .step-card,
    .contact-card {
        padding: 1.5rem;
    }
}
