/* Design System - Revu Landing Page */
:root {
    --bg-color: #ffffff;
    --text-primary: #191c1f;
    --text-secondary: #5e6670;
    --accent-color: #000000;
    --accent-hover: #333333;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --border-color: #e5e7eb;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --max-width: 1200px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: #f3f4f6;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--border-color);
    pointer-events: auto;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: lowercase;
    position: relative;
    z-index: 1;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.nav-link {
    padding: 10px 0;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: center;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: var(--spacing-md);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Table Style (Monktag style) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    padding: 3rem 2.5rem;
    border-radius: 32px;
    background: #f9fafb;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5px;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

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

/* Feature Rows (Zig-Zag) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.feature-row:nth-child(even) .feature-image {
    order: 2;
}

.feature-image img {
    width: 100%;
    border-radius: 32px;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Timeline / Stepper */
.timeline {
    position: relative;
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
    padding-left: var(--spacing-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-step {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.timeline-step::after {
    content: '';
    position: absolute;
    left: -33px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent-color);
    z-index: 1;
}

.timeline-step h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.timeline-step p {
    color: var(--text-secondary);
}

/* Real Device Promo */
.promo-banner {
    width: 100%;
    border-radius: 40px;
    overflow: hidden;
    margin-top: var(--spacing-xl);
}

.promo-banner img {
    width: 100%;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

html {
    scroll-behavior: smooth;
}

/* Footer Base */
footer.container {
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Responsiveness */
@media (max-width: 968px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }

    .hero,
    .how-it-works > div,
    .section-padding > div {
        grid-template-columns: 1fr !important;
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto var(--spacing-md);
    }

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

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3.5rem;
        --spacing-lg: 2.5rem;
        --spacing-md: 1.5rem;
    }

    .nav-link {
        display: none !important;
    }

    header .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        gap: var(--spacing-md);
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .feature-text h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .faq-section h2 {
        font-size: 2rem !important;
    }

    footer.container {
        flex-direction: column;
        gap: 30px;
        text-align: left;
        padding: var(--spacing-md) 0 120px !important;
        /* Extra padding for floating button */
    }

    .footer-legal {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    #comprar h2 {
        font-size: 2.2rem !important;
    }

    .btn {
        width: 100%;
        padding: 1rem !important;
    }

    .faq-item.active .faq-answer {
        font-size: 1rem;
    }
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: var(--spacing-sm);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 14px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* Contact Styles */
.btn-whatsapp {
    background-color: #25d366;
    color: white !important;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
}

.contact-toggle {
    display: none;
}

.contact-main {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-main svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-toggle:checked~.contact-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-toggle:checked~.contact-main {
    transform: rotate(135deg);
    background-color: #ff4d4d;
}

.contact-option {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-option svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-option:hover {
    transform: scale(1.1);
}

.contact-option.whatsapp {
    background-color: #25d366;
}

.contact-option.phone {
    background-color: #007bff;
}