/* Reset e configuração base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0F2022;
    overflow-x: hidden;
}

/* Configuração de tipografia */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;

}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-image {
    height: 32px;
    width: auto;

}

.logo-text {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #66b3ba !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #66b3ba;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff !important;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    background: linear-gradient(135deg, #12494C 0%, #0B1C1F 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    gap: 80px;
    width: 100%;
}

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

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="white" opacity="0.03"/><circle cx="75" cy="75" r="0.5" fill="white" opacity="0.03"/><circle cx="50" cy="10" r="0.3" fill="white" opacity="0.02"/><circle cx="20" cy="80" r="0.4" fill="white" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    font-size: 0.9em;
}

.highlighted-word {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.highlighted-word::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 110%;
    height: 8px;
    background: linear-gradient(90deg, transparent 0%, #D4AF37 20%, #F4D03F 50%, #D4AF37 80%, transparent 100%);
    border-radius: 50px;
    opacity: 0.8;
    filter: blur(0.5px);
    animation: underlineGrow 1.2s ease-out 0.8s forwards;
    transform-origin: center;
}

.highlighted-word::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 4px;
    background: #D4AF37;
    border-radius: 50px;
    clip-path: ellipse(50% 100% at 50% 100%);
    animation: underlineGrow 1s ease-out 1s forwards;
    transform-origin: center;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

@keyframes underlineGrow {
    from {
        transform: translateX(-50%) scaleX(0);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
}

.hero-benefit {
    display: inline-block;
    position: relative;
    padding-left: 16px;
}

.hero-benefit::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: 700;
    font-size: 1.2em;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.cta-button {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: rgba(255, 255, 255, 0.95);
    color: #2B5F65;
    padding: 16px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    width: fit-content;
}

.cta-button.primary:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.6;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
}

/* App Screenshots */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Layout empilhado premium com mais espaço */
.screenshots-grid {
    position: relative;
    width: 640px;
    height: 640px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.screenshot-item {
    position: absolute;
    width: 290px;
    height: auto;
    transition: all 0.3s ease;
}

.screenshot-image {
    width: 100%;
    height: auto;
    border-radius: 28px;
    display: block;
    object-fit: cover;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Posicionamento premium com 3 screenshots */
.screenshot-item:nth-child(1) {
    top: 130px;
    left: 170px;
    z-index: 3;
    transform: rotate(-3deg);
}

.screenshot-item:nth-child(2) {
    top: 45px;
    left: 60px;
    z-index: 2;
    transform: rotate(-12deg) translateZ(-50px);
    opacity: 0.95;
}

.screenshot-item:nth-child(3) {
    top: 65px;
    left: 310px;
    z-index: 1;
    transform: rotate(12deg) translateZ(-100px);
    opacity: 0.9;
}

/* Hover effects premium */
.screenshot-item:hover {
    transform: rotate(0deg) translateZ(20px) scale(1.02);
    z-index: 10;
    opacity: 1 !important;
}

.screenshot-item:hover .screenshot-image {
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.3),
        0 20px 40px rgba(43, 95, 101, 0.15);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2B5F65;
}

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

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(43, 95, 101, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(43, 95, 101, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(43, 95, 101, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2B5F65;
}

.feature-description {
    color: #666;
    font-weight: 400;
    line-height: 1.6;
}

/* Value Proposition Section */
.value-prop {
    padding: 100px 0;
    background: white;
}

.value-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.value-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 48px;
    color: #2B5F65;
}

.value-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.value-point {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

.check {
    color: #2B5F65;
    font-weight: 700;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(43, 95, 101, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #12494C 0%, #0B1C1F 100%);
    color: white;
    text-align: center;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.download-description {
    font-size: 1.2rem;
    margin-bottom: 48px;
    opacity: 0.9;
}

.download-button {
    display: inline-flex;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.button-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    width: 100%;
}

.store-icon {
    width: 32px;
    height: 32px;
    filter: invert(0.2);
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.button-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
}

.button-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.download-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-tagline {
    color: #e0e0e0;
    font-style: italic;
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-link {
    display: block;
    text-decoration: none;
    color: #d0d0d0;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-copyright {
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 32px;
}

.mobile-menu-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: #2B5F65;
}

/* Animações e transições */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .value-point {
    animation: fadeInUp 0.6s ease;
}

/* Responsive Design */
/* Ajustes para portáteis e tablets em landscape */
@media (max-width: 1024px) {
    .hero-container { gap: 56px; }
    .hero-title { font-size: clamp(2rem, 4vw, 2.8rem); }
    .screenshots-grid { width: 600px; height: 600px; scale: 0.95; }
    .screenshot-item { width: 260px; }
    .screenshot-item:nth-child(1) { top: 120px; left: 160px; }
    .screenshot-item:nth-child(2) { top: 40px; left: 60px; }
    .screenshot-item:nth-child(3) { top: 55px; left: 280px; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    /* Empilhar e centrar */
    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero-cta {
        align-items: center;
    }
    
    .cta-button {
        align-items: center;
    }
    
    .hero-container {
        gap: 48px;
    }
    
    .screenshots-grid {
        width: 520px;
        height: 520px;
        scale: 0.9;
    }
    
    .screenshot-item {
        width: 230px;
    }
    
    /* Ajustar posições para tablet com 3 screenshots */
    .screenshot-item:nth-child(1) {
        top: 100px;
        left: 140px;
    }
    
    .screenshot-item:nth-child(2) {
        top: 30px;
        left: 45px;
    }
    
    .screenshot-item:nth-child(3) {
        top: 45px;
        left: 245px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .value-title, .download-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .value-points {
        align-items: center;
        text-align: center;
    }
    
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-benefit {
        padding-left: 14px;
    }
    
    .hero-benefit::before {
        font-size: 1.1em;
    }
    
    /* Simplificar sublinhado em mobile */
    .highlighted-word::after {
        height: 6px;
        width: 105%;
        animation-duration: 1s;
        animation-delay: 0.6s;
    }
    
    .highlighted-word::before {
        height: 3px;
        animation-duration: 0.8s;
        animation-delay: 0.8s;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .value-title, .download-title {
        font-size: 1.75rem;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .screenshots-grid {
        width: 460px;
        height: 460px;
        scale: 0.8;
    }
    
    .screenshot-item {
        width: 200px;
    }
    
    /* Mobile com espaçamento premium para 3 screenshots */
    .screenshot-item:nth-child(1) {
        top: 90px;
        left: 120px;
    }
    
    .screenshot-item:nth-child(2) {
        top: 30px;
        left: 45px;
    }
    
    .screenshot-item:nth-child(3) {
        top: 40px;
        left: 200px;
    }
    
    .hero {
        padding: 96px 0 56px;
        min-height: auto;
    }
    
    .features, .value-prop, .download {
        padding: 60px 0;
    }
}

/* Melhoramentos de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Header sempre escuro para design consistente */
@media (prefers-color-scheme: dark) {
    .header {
        background: rgba(26, 26, 26, 0.95) !important;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        color: #ffffff !important;
    }
    
    .nav-link:hover {
        color: #66b3ba !important;
    }
}
