/* Variables y Configuración */
:root {
    --bg: #ffffff;
    --text: #111111;
    --grid: rgba(0, 0, 0, 0.05);
    --accent: #000000;
    --accent-text: #ffffff;
    --card: #f9f9f9;
    --border: rgba(0, 0, 0, 0.1);
    --font-h: 'Gloock', serif;
    --font-b: 'Plus Jakarta Sans', sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121212;
        --text: #ffffff;
        --grid: rgba(255, 255, 255, 0.07);
        --accent: #1C1C1E;
        --accent-text: #ffffff;
        --card: #1C1C1E;
        --border: rgba(255, 255, 255, 0.1);
        --primary: #b1dafa;
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; overflow-x: hidden; line-height: 1.6; }

/* Grid Background */
.grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 40px 40px; z-index: -1; pointer-events: none;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* Header */
.header { height: 80px; display: flex; align-items: center; }
.header-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: var(--font-h); font-size: 1.5rem; }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { text-decoration: none; color: var(--text); font-size: 0.9rem; opacity: 0.6; transition: 0.3s; }
.nav a:hover { opacity: 1; }

/* Hero */
.hero { padding: 100px 0; text-align: center; }
.badge { background: var(--card); padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.8rem; font-weight: 700; }
.hero-title { font-family: var(--font-h); font-size: clamp(3rem, 10vw, 6rem); margin: 1.5rem 0; line-height: 1; }
.hero-subtitle { font-size: 1.2rem; max-width: 650px; margin: 0 auto 3rem; opacity: 0.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-bottom: 4rem; }

.btn { padding: 1rem 5rem; border-radius: 15px; text-decoration: none; font-weight: 700; transition: 0.3s; display: inline-block; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-secondary { color: var(--text); background-color: var(--accent);}
.btn-tertiary { background: var(--accent); color: var(--accent-text); margin-top: 1rem; margin-bottom: 2rem; }
.btn:hover { transition: 0.5s; color: var(--primary); }

.main-screenshot { width: 100%; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 100px; }
.stat-card { background: var(--card); padding: 2rem; border-radius: 15px; text-align: center; }
.stat-value { font-size: 2.5rem; font-weight: 800; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;  color: var(--primary); }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bento-item { background: var(--card); padding: 2.5rem; border-radius: 15px; }
.bento-item:hover { border-color: var(--text); }
.bento-item h3 { margin-bottom: 1rem; }
.bento-item p { opacity: 0.6; font-size: 0.95rem; }
.bento-large { grid-column: span 2; }
.bento-medium { grid-column: span 3; text-align: center; }

/* Pricing */
.pricing { padding: 100px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.price-card { background: var(--card); padding: 3rem; border-radius: 30px; corner-shape: scoop; position: relative; }
.price-card.featured { border: 2px solid var(--accent); transform: scale(1.05); }
.featured-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-text); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.7rem; font-weight: 800; }
.price { font-size: 3rem; font-weight: 800; margin: 1.5rem 0; }
.price span { font-size: 1rem; opacity: 0.5; }
.price-card ul { list-style: none; margin-bottom: 2rem; }
.price-card ul li { margin-bottom: 0.8rem; opacity: 0.8; }
.price-card ul li::before { content: "✓"; margin-right: 10px; color: #16a34a; }

/* FAQ */
.faq { padding: 100px 0; }
.faq h2 { text-align: center; margin-bottom: 3rem; font-family: var(--font-h); font-size: 2.5rem; }
details { background: var(--card); margin-bottom: 1rem; border-radius: 15px; padding: 1rem; cursor: pointer; }
summary { font-weight: 700; padding: 0.5rem; }
details p { padding: 1rem; color: var(--primary);}

/* CTA */
.cta-final {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Footer */
.footer { padding: 50px 0; border-top: 1px solid var(--border); }
.footer-flex { display: flex; justify-content: space-between; font-size: 0.85rem; opacity: 0.6; }
.footer-links a { margin-left: 1rem; text-decoration: none; color: var(--text); }

/* Responsive */
@media (max-width: 800px) {
    .stats, .bento-grid, .pricing, .hero-actions { grid-template-columns: 1fr; }
    .bento-large, .bento-medium { grid-column: span 1; }
    .hero-title { font-size: 3.5rem; }
    .price-card.featured { transform: scale(1); }
}
