/* VAKKA Landing Page Styles */

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette - primarily black and white with subtle accents */
    --color-primary: #000000;
    --color-secondary: #ffffff;
    --color-text-primary: #000000;
    --color-text-secondary: #666666;
    --color-text-muted: #999999;
    --color-border: #e5e5e5;
    --color-bg-light: #fafafa;
    --color-accent: #f0f0f0;
    --color-disabled: #cccccc;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-logo: 'Lilita One', cursive;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    /* Container */
    --container-max-width: 1200px;
    --container-padding: 1.5rem;

    /* Border radius */
    --border-radius: 8px;
    --border-radius-lg: 44px;

    /* Transitions */
    --transition-base: all 0.3s ease;
}

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

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.7;
}

/* Brand name styling (VAKKA in body text) */
.brand-name {
    font-family: var(--font-family-logo);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition-base);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: var(--font-family-logo);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    padding-top: calc(70px + var(--spacing-xxl));
    padding-bottom: var(--spacing-xxl);
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-secondary) 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-family: var(--font-family-logo);
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    background-color: var(--color-secondary);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    justify-content: center;
}

.feature-card {
    text-align: center;
    padding: var(--spacing-md);
    transition: var(--transition-base);
    flex: 1 1 300px;
    max-width: 400px;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 100%;
    max-width: 240px;
    height: auto;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

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

/* ========================================
   SHOWCASE SECTION (alternating layout)
   ======================================== */

.showcase {
    background-color: var(--color-bg-light);
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.showcase-item:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.showcase-item:nth-child(even) .showcase-image {
    order: 2;
}

.showcase-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.showcase-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.showcase-content p {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.showcase-features {
    list-style: none;
    margin-top: var(--spacing-md);
}

.showcase-features li {
    color: var(--color-text-secondary);
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-xs);
    position: relative;
    line-height: 1.6;
}

.showcase-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* ========================================
   FAQ / HIGHLIGHTS SECTION
   ======================================== */

.highlights {
    background-color: var(--color-secondary);
}

.highlights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    justify-content: center;
}

.highlight-card {
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: var(--color-secondary);
    transition: var(--transition-base);
    flex: 1 1 250px;
    max-width: 350px;
}

.highlight-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.highlight-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.highlight-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.highlight-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */

.download {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    text-align: center;
}

.download .section-title {
    color: var(--color-secondary);
}

.download .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.download-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-hero-primary {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: 2px solid var(--color-primary);
}

.btn-hero-primary:hover:not(.btn-disabled) {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover:not(.btn-disabled) {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15), 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover:not(.btn-disabled) {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Store badge buttons */
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: none;
}

.btn-store:not(.btn-disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: var(--color-accent);
}

.btn-store.btn-disabled {
    background: transparent;
    color: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.btn-store .store-icon {
    font-size: 32px;
    line-height: 1;
    display: inline-block;
    width: 32px;
    height: 32px;
}

.btn-store svg {
    width: 32px;
    height: 32px;
    display: inline-block;
}

.btn-store .badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.btn-store .badge-text small {
    font-size: 11px;
    opacity: 0.85;
    letter-spacing: 0.3px;
    font-weight: 400;
}

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

.store-badge {
    /* Legacy support - mantener por si acaso */
    height: 60px;
    width: auto;
    display: block;
}

.btn-icon {
    font-size: 1.5rem;
}

.coming-soon {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--spacing-md);
}

/* ========================================
   SUPPORT SECTION
   ======================================== */

.support {
    background-color: var(--color-bg-light);
    text-align: center;
}

.support-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    background-color: var(--color-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
}

.support-emoji {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
}

.support-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.support-text {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.support-highlight {
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.btn-support-large {
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
    margin-top: var(--spacing-md);
}

.coffee-emoji {
    font-size: 1.5rem;
    display: inline-block;
    margin-right: var(--spacing-xs);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-info {
    background-color: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    max-width: 600px;
    margin: 0 auto;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    color: var(--color-primary);
    text-decoration: none;
    margin: var(--spacing-md) 0;
    transition: var(--transition-base);
}

.contact-email:hover {
    color: var(--color-text-secondary);
}

.contact-icon {
    font-size: 2rem;
}

.contact-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: var(--spacing-lg) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    letter-spacing: 0.05em;
    font-family: var(--font-family-logo);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

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

.footer-copyright {
    width: 100%;
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-top: var(--spacing-md);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .showcase-item {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .showcase-item:nth-child(even) .showcase-image {
        order: 1;
    }

    .showcase-content h3 {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }

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

/* Mobile */
@media (max-width: 480px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
        --spacing-lg: 2rem;
        --container-padding: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero {
        padding-top: calc(70px + var(--spacing-lg));
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

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

    .download-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-email {
        font-size: 1.125rem;
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {

    .header,
    .download,
    .contact {
        display: none;
    }
}