/* ===================================
   ROLETA PICANTE - LANDING PAGE STYLES
   =================================== */

/* CSS Variables */
:root {
    /* Background Colors */
    --background-dark: #1f0205;
    --background-gradient-start: #4a0a0e;
    --background-gradient-end: #1f0205;

    /* Accent Colors */
    --accent-red: #FB2C37;
    --neon-red: #FF1744;
    --white: #FFFFFF;
    --black: #000000;

    /* Legal Pages Colors */
    --legal-bg: #1a1a2e;
    --legal-header: #16213e;
    --legal-border: #0f3460;
    --text-muted: #ccc;

    /* Transparencies */
    --shadow: rgba(0, 0, 0, 0.5);
    --border-accent: rgba(251, 44, 55, 0.2);
    --button-bg: rgba(255, 255, 255, 0.2);
    --option-bg: rgba(255, 255, 255, 0.15);

    /* Spacing */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(180deg, var(--background-gradient-start) 0%, var(--background-gradient-end) 100%);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--neon-red);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER / NAVIGATION
   =================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(31, 2, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-accent);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

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

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
}

.logo span {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px var(--accent-red);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-red);
    text-shadow: 0 0 10px var(--accent-red);
}

.nav-cta {
    background: var(--accent-red);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--neon-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(251, 44, 55, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/wallpaper-onboarding.png') center/cover no-repeat;
    opacity: 0.3;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(31, 2, 5, 0.7) 0%,
        rgba(74, 10, 14, 0.5) 50%,
        rgba(31, 2, 5, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(251, 44, 55, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px var(--accent-red), 0 0 60px rgba(251, 44, 55, 0.5);
}

.hero .slogan {
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--button-bg);
    border: 2px solid var(--white);
    padding: 14px 28px;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.store-btn svg {
    width: 28px;
    height: 28px;
}

.store-btn .store-text {
    text-align: left;
}

.store-btn .store-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
}

.store-btn .store-text span {
    font-size: 1.1rem;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 44, 55, 0.2);
    border: 1px solid var(--accent-red);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 20px var(--accent-red);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    background: linear-gradient(180deg, var(--background-dark) 0%, rgba(74, 10, 14, 0.3) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--option-bg);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 20px 40px rgba(251, 44, 55, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--neon-red) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

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

/* ===================================
   CATEGORIES SECTION
   =================================== */
.categories {
    background: var(--background-dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.category-card {
    background: var(--option-bg);
    border: 1px solid var(--border-accent);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05);
    border-color: var(--accent-red);
    box-shadow: 0 15px 35px rgba(251, 44, 55, 0.3);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.category-card .category-info {
    padding: 20px;
    text-align: center;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--accent-red);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing {
    background: linear-gradient(180deg, rgba(74, 10, 14, 0.3) 0%, var(--background-dark) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--option-bg);
    border: 2px solid var(--border-accent);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--accent-red);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-red);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 5px;
}

.pricing-card .period {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li .check {
    color: #4CAF50;
}

.pricing-card ul li .cross {
    color: #666;
}

.pricing-btn {
    display: inline-block;
    width: 100%;
    padding: 15px 30px;
    background: var(--button-bg);
    border: 2px solid var(--white);
    border-radius: 30px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: var(--white);
    color: var(--black);
}

.pricing-card.featured .pricing-btn {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.pricing-card.featured .pricing-btn:hover {
    background: var(--neon-red);
    border-color: var(--neon-red);
    color: var(--white);
}

/* ===================================
   TESTIMONIALS / SOCIAL PROOF
   =================================== */
.social-proof {
    background: var(--background-dark);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.stat-item {
    padding: 30px;
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-red);
    text-shadow: 0 0 20px rgba(251, 44, 55, 0.5);
}

.stat-item .label {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 10px;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--option-bg);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
}

.store-badge .stars {
    color: #FFD700;
}

/* ===================================
   LANGUAGES SECTION
   =================================== */
.languages {
    background: linear-gradient(180deg, var(--background-dark) 0%, rgba(74, 10, 14, 0.2) 100%);
}

.languages-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--option-bg);
    padding: 15px 30px;
    border-radius: 10px;
    border: 1px solid var(--border-accent);
    transition: all 0.3s ease;
}

.language-item:hover {
    border-color: var(--accent-red);
    transform: translateY(-3px);
}

.language-item .flag {
    font-size: 1.5rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta {
    background: linear-gradient(135deg, var(--background-gradient-start) 0%, var(--accent-red) 50%, var(--background-gradient-start) 100%);
    text-align: center;
    padding: 100px 20px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--black);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent-red);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-red);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--accent-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-accent);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===================================
   LEGAL PAGES (Terms & Privacy)
   =================================== */
.legal-page {
    background: linear-gradient(180deg, var(--legal-header) 0%, var(--legal-bg) 100%);
    min-height: 100vh;
}

.legal-header {
    background: var(--legal-header);
    padding: 120px 20px 60px;
    text-align: center;
    border-bottom: 1px solid var(--legal-border);
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.legal-header p {
    color: var(--white);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-content h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--legal-border);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--white);
}

.legal-content p {
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    color: var(--white);
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-content .company-info {
    background: var(--option-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--legal-border);
    margin-top: 40px;
}

.legal-content .company-info h3 {
    color: var(--white);
    margin-top: 0;
}

.legal-content a {
    color: var(--white);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--text-muted);
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq {
    background: var(--background-dark);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--option-bg);
    border: 1px solid var(--border-accent);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(251, 44, 55, 0.1);
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--accent-red);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: linear-gradient(180deg, var(--background-dark) 0%, rgba(74, 10, 14, 0.3) 100%);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--option-bg);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-accent);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 15px rgba(251, 44, 55, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: var(--accent-red);
    border: none;
    border-radius: 30px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--neon-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 44, 55, 0.4);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(5px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(31, 2, 5, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border-accent);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .hero .slogan {
        font-size: 1.2rem;
    }

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

    .hero-logo {
        width: 100px;
        height: 100px;
    }

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

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

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

    .contact-form {
        padding: 30px 20px;
    }

    .stat-item .number {
        font-size: 2.5rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

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

    .footer-brand .logo {
        justify-content: center;
    }

    .legal-header h1 {
        font-size: 1.8rem;
    }
}

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

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

    .languages-grid {
        flex-direction: column;
        align-items: center;
    }

    .language-item {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

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

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
