/* Reset e Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.lang-btn:hover {
    border-color: var(--primary);
}

.lang-arrow {
    font-size: 12px;
    color: var(--gray);
    transition: transform 0.2s ease;
}

.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-width: 140px;
    z-index: 1100;
}

.lang-dropdown.open .lang-menu {
    display: flex;
    flex-direction: column;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.lang-option:hover {
    background: var(--light);
}

.lang-option.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Mock Image */
.hero-mock-image {
    width: 350px;
    height: auto;
    transition: transform 0.3s ease;
    transform: perspective(1000px) rotateY(-10deg);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--dark);
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 40px 20px 20px;
    text-align: center;
}

.app-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
}

.app-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 600;
}

.status-icon {
    font-size: 24px;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-item {
    background: var(--white);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background: var(--white);
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mission-text-content {
    flex: 1;
}

.mission-image-content {
    flex: 0 0 auto;
}

.mission-image {
    display: block;
    width: 450px;
    height: auto;
    max-width: 100%;
}

.mission-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-align: left;
}

.mission-text {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
    text-align: left;
}

.family-section {
    padding: 100px 0;
    background: var(--white);
}

.family-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.family-image-content {
    flex: 0 0 auto;
}

.family-image {
    display: block;
    width: 500px;
    height: auto;
}

.family-text-content {
    flex: 1;
}

.family-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.family-text {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .family-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .family-title,
    .family-text {
        text-align: center;
    }

    .family-image {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .family-image {
        width: 280px;
    }
}

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

.main-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.main-feature-card {
    background: var(--light);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.main-feature-image {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}

.main-feature-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.main-feature-list {
    list-style: none;
    text-align: left;
    width: 100%;
}

.main-feature-list li {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.main-feature-list li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 1024px) {
    .main-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .main-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .main-feature-card {
        padding: 24px;
    }
}

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

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--light);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-description {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -60px;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), transparent);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.step-description {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
}

.download-content {
    text-align: center;
}

.download-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.download-subtitle {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.store-icon {
    font-size: 28px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text small {
    font-size: 11px;
    opacity: 0.7;
}

.store-text strong {
    font-size: 16px;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 16px;
}

.footer-text {
    color: var(--gray);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .mission-title {
        font-size: 28px;
    }

    .mission-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .mission-title,
    .mission-text {
        text-align: center;
    }

    .mission-image {
        width: 200px;
    }

    .hero-mock-image {
        width: 300px;
        max-width: 100%;
    }
}

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

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .hero-mock-image {
        width: 100%;
        max-width: 280px;
        transform: none;
    }

    .hero-visual {
        padding: 0 20px;
    }

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

    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title,
    .download-title,
    .mission-title {
        font-size: 28px;
    }

    .mission-text {
        font-size: 16px;
    }

    .mission-image {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .mission-content {
        flex-direction: column;
        gap: 32px;
    }

    .mission-title,
    .mission-text {
        text-align: center;
    }

    .family-image {
        width: 100%;
        max-width: 280px;
    }
}

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

.feature-card,
.step {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.mission {
    animation: fadeInUp 0.6s ease forwards;
}
