/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #059669;
    --dark-bg: #1a2332;
    --darker-bg: #0f1621;
    --card-bg: #2a3544;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --accent-teal: #14b8a6;
    --gradient-start: #059669;
    --gradient-end: #14b8a6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.store-button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Surface Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 22, 33, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 28px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    line-height: 1;
    white-space: nowrap;
}

.logo-better {
    color: var(--text-primary);
}

.logo-day {
    color: var(--primary-green);
    font-style: italic;
}

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

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

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

.btn-download-nav {
    background: var(--primary-green);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-download-nav:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-download-nav:active {
    transform: scale(0.96);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    text-wrap: balance;
}

.highlight {
    color: var(--primary-green);
    position: relative;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    text-align: justify;
    text-wrap: pretty;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
    transform: scale(0.96);
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: #3a4555;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary:active {
    transform: scale(0.96);
}

/* Hero Images */
.hero-images {
    position: relative;
    height: 600px;
}

.phone-mockup {
    position: absolute;
    width: 280px;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 8px solid var(--dark-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.phone-mockup:hover {
    transform: scale(1.05);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.7);
    z-index: 4 !important;
}

@media (hover: none) {
    .phone-mockup:active {
        transform: scale(1.05);
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
        z-index: 4 !important;
    }
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.phone-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 0.3s ease;
}

.phone-1:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

@media (hover: none) {
    .phone-1:active {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.phone-2 {
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-5deg);
    z-index: 2;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.phone-2:hover {
    transform: translateY(-50%) rotate(-5deg) scale(1.05);
    opacity: 1;
}

@media (hover: none) {
    .phone-2:active {
        transform: translateY(-50%) rotate(-5deg) scale(1.05);
        opacity: 1;
    }
}

.phone-3 {
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(5deg);
    z-index: 2;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.phone-3:hover {
    transform: translateY(-50%) rotate(5deg) scale(1.05);
    opacity: 1;
}

@media (hover: none) {
    .phone-3:active {
        transform: translateY(-50%) rotate(5deg) scale(1.05);
        opacity: 1;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Offset alternating cards for an asymmetric grid feel */
@media (min-width: 968px) {
    .feature-card:nth-child(even) {
        transform: translateY(30px);
    }

    .feature-card:nth-child(even):hover {
        transform: translateY(25px);
        border-color: rgba(5, 150, 105, 0.3);
        box-shadow: 0 15px 40px rgba(5, 150, 105, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .feature-card:nth-child(odd):hover {
        transform: translateY(-5px);
        border-color: rgba(5, 150, 105, 0.3);
        box-shadow: 0 15px 40px rgba(5, 150, 105, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 967px) {
    .feature-card:hover {
        transform: translateY(-5px);
        border-color: rgba(5, 150, 105, 0.3);
        box-shadow: 0 15px 40px rgba(5, 150, 105, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 15px;
    text-align: justify;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: var(--darker-bg);
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    text-wrap: balance;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-phone {
    width: 80%;
    max-width: 280px;
    margin: 0 auto 20px;
    border-radius: 44px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 6px solid var(--dark-bg);
    transition: transform 0.3s;
}

.screenshot-phone:hover {
    transform: scale(1.05);
}

.screenshot-phone img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.screenshot-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.download-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    text-wrap: balance;
}

.download-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.store-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: var(--card-bg);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.store-button:hover {
    background: #3a4555;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(5, 150, 105, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(5, 150, 105, 0.2);
}

.store-button:active {
    transform: scale(0.96);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.store-button i {
    font-size: 48px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.store-button:hover i {
    transform: scale(1.1);
}

.store-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-text {
    font-size: 16px;
    color: var(--text-secondary);
}

.store-name {
    font-size: 24px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 12px;
}

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

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-images {
        height: 550px;
    }

    .phone-mockup {
        width: 250px;
    }
}

@media (max-width: 968px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .hero-description {
        text-align: center;
    }

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

    .hero-images {
        height: 450px;
        margin: 0 auto;
        max-width: 600px;
    }

    .phone-mockup {
        width: 220px;
    }

    .phone-2 {
        left: 10px;
        transform: translateY(-50%) rotate(-3deg);
    }

    .phone-2:hover {
        transform: translateY(-50%) rotate(-3deg) scale(1.05);
    }

    .phone-3 {
        right: 10px;
        transform: translateY(-50%) rotate(3deg);
    }

    .phone-3:hover {
        transform: translateY(-50%) rotate(3deg) scale(1.05);
    }

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

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

@media (max-width: 840px) {
    .phone-mockup {
        width: 200px;
    }

    .hero-images {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 24px;
        gap: 10px;
    }

    .logo img {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .nav {
        gap: 16px;
    }

    .nav a {
        font-size: 14px;
    }

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

    .hero .container {
        gap: 40px;
    }

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

    .hero-description {
        font-size: 16px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 12px;
    }

    .btn {
        flex: 1;
        justify-content: center;
        padding: 12px 24px;
        font-size: 15px;
    }

    .hero-images {
        height: 400px;
        position: relative;
    }

    .phone-mockup {
        width: 180px;
    }

    .phone-2 {
        left: 5px;
        top: 45%;
        transform: translateY(-45%) rotate(-3deg);
    }

    .phone-2:hover {
        transform: translateY(-45%) rotate(-3deg) scale(1.05);
    }

    .phone-3 {
        right: 5px;
        top: 45%;
        transform: translateY(-45%) rotate(3deg);
    }

    .phone-3:hover {
        transform: translateY(-45%) rotate(3deg) scale(1.05);
    }

    .phone-1 {
        top: 45%;
        transform: translate(-50%, -45%);
    }

    .phone-1:hover {
        transform: translate(-50%, -45%) scale(1.05);
    }

    @media (hover: none) {
        .phone-1:active {
            transform: translate(-50%, -45%) scale(1.05);
        }

        .phone-2:active {
            transform: translateY(-45%) rotate(-3deg) scale(1.05);
        }

        .phone-3:active {
            transform: translateY(-45%) rotate(3deg) scale(1.05);
        }
    }

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

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

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

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .logo {
        font-size: 20px;
        gap: 8px;
    }

    .logo img {
        width: 32px;
        height: 32px;
        border-radius: 7px;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero .container {
        gap: 50px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }

    .btn {
        width: 100%;
        padding: 14px 28px;
        font-size: 15px;
    }

    .hero-images {
        height: 450px;
        position: relative;
    }

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

    .phone-2,
    .phone-3 {
        display: none;
    }

    .phone-1 {
        width: 240px;
        top: 40%;
        transform: translate(-50%, -40%);
    }

    .phone-1:hover {
        transform: translate(-50%, -40%) scale(1.03);
    }

    @media (hover: none) {
        .phone-1:active {
            transform: translate(-50%, -40%) scale(1.03);
        }
    }
}

@media (max-width: 390px) {
    .hero .container {
        gap: 40px;
    }

    .hero-images {
        height: 480px;
    }

    .phone-1 {
        width: 220px;
        top: 45%;
        transform: translate(-50%, -45%);
    }

    .phone-1:hover {
        transform: translate(-50%, -45%) scale(1.03);
    }

    @media (hover: none) {
        .phone-1:active {
            transform: translate(-50%, -45%) scale(1.03);
        }
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-images {
        height: 420px;
    }

    .phone-1 {
        width: 200px;
        top: 40%;
        transform: translate(-50%, -40%);
    }

    .phone-1:hover {
        transform: translate(-50%, -40%) scale(1.03);
    }

    @media (hover: none) {
        .phone-1:active {
            transform: translate(-50%, -40%) scale(1.03);
        }
    }
}