﻿:root {
    --bg-main: #FEFCE8; /* Cream */
    --text-main: #334155; /* Slate */
    --primary: #1E1B4B; /* Deep Indigo */
    --accent: #F43F5E; /* Rose / Coral */
    --surface: #FFFFFF;
    --border: #E2E8F0;
    --success: #10B981;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Outfit', 'Inter', sans-serif; background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

/* Accesibilidad */
.skip-link { position: absolute; top: -50px; left: 0; background: var(--accent); color: white; padding: 10px 20px; z-index: 9999; font-weight: 700; text-decoration: none; transition: top 0.3s; }
.skip-link:focus { top: 0; }

/* Tipografía */
h1, h2, h3, h4 { color: var(--primary); font-family: 'Syne', sans-serif; font-weight: 800; }
h1 { font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.1; margin-bottom: 1.5rem; }
p { font-size: 1.15rem; margin-bottom: 1.5rem; color: #475569; }
.text-accent { color: var(--accent); position: relative; }
.text-accent::after { content: ''; position: absolute; bottom: 10%; left: 0; width: 100%; height: 25%; background: var(--accent); opacity: 0.2; z-index: -1; }

/* Unique Graphic Element (Abstract Pattern) */
.pattern-bg { background-image: radial-gradient(var(--accent) 1.5px, transparent 1.5px); background-size: 25px 25px; }

/* Layout & Navegación */
main { min-height: 80vh; }
.container { max-width: 1300px; margin: 0 auto; padding: 6rem 5%; }

header {
    background: rgba(254, 252, 232, 0.95); backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border);
    padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--primary); }
.logo img { width: 40px; height: 40px; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 1.1rem; transition: color 0.3s; }
nav a:hover { color: var(--accent); }
.burger-btn { display: none; background: none; border: none; font-size: 2rem; color: var(--primary); cursor: pointer; }

/* Botones */
.btn {
    display: inline-flex; justify-content: center; align-items: center; gap: 10px;
    padding: 1.2rem 2.5rem; background: var(--primary); color: var(--surface);
    text-decoration: none; font-weight: 700; border-radius: 8px; border: none; cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s; font-size: 1.1rem;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(30,27,75,0.2); color: white; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { box-shadow: 0 10px 20px rgba(244,63,94,0.3); }

/* Secciones */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; padding-top: 8rem; }
.hero-img-wrap { position: relative; }
.hero-img-wrap::before { content: ''; position: absolute; top: -20px; left: -20px; width: 100%; height: 100%; border: 3px solid var(--primary); border-radius: 20px; z-index: -1; }
.hero-img { width: 100%; border-radius: 20px; display: block; object-fit: cover; aspect-ratio: 4/5; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.random-1 { background: var(--primary); color: var(--surface); padding: 8rem 5%; text-align: center; position: relative; overflow: hidden; }
.random-1 h2, .random-1 p { color: var(--surface); position: relative; z-index: 2; }
.random-1 p { max-width: 800px; margin: 0 auto; opacity: 0.9; }

.features { background: var(--surface); border-radius: 30px; padding: 5rem; margin: 6rem 5%; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.features-list { list-style: none; margin-top: 2rem; }
.features-list li { position: relative; padding-left: 3rem; margin-bottom: 1.5rem; font-size: 1.2rem; font-weight: 600; color: var(--primary); }
.features-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--surface); background: var(--accent); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.feat-img { width: 100%; border-radius: 20px; object-fit: cover; }

/* Pricing */
.pricing { padding: 6rem 5%; text-align: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 3rem auto 0; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 3rem 2rem; position: relative; display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.price-card .price { font-size: 3rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; }
.price-card .price span { font-size: 1.2rem; color: #64748b; font-weight: 400; }
.price-card ul { list-style: none; margin-bottom: 2rem; text-align: left; flex-grow: 1; }
.price-card ul li { margin-bottom: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; font-size: 1rem; }
.price-card.popular { border: 2px solid var(--accent); transform: scale(1.05); box-shadow: 0 20px 40px rgba(244,63,94,0.1); }
.popular-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; }

/* Formulario */
.lead-section { background: var(--surface); border-radius: 30px; margin: 6rem 5%; padding: 5rem; display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; box-shadow: 0 20px 50px rgba(0,0,0,0.05); border-top: 5px solid var(--accent); }
.form-box { background: var(--bg-main); padding: 3rem; border-radius: 20px; border: 1px solid var(--border); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.5rem; color: var(--primary); }
.form-group input { width: 100%; padding: 1.2rem; border: 2px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: inherit; transition: border-color 0.3s; background: var(--surface); }
.form-group input:focus { outline: none; border-color: var(--accent); }
.checkbox-group { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 2rem; }
.checkbox-group input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); }
.checkbox-group label { font-size: 0.9rem; color: #64748b; line-height: 1.5; }

/* FAQ */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; }
.faq-question { padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 1.2rem; color: var(--primary); }
.faq-answer { padding: 0 2rem; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: #475569; }
.faq-item.active .faq-answer { padding: 0 2rem 1.5rem 2rem; max-height: 500px; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--accent); }

/* Footer & Legal */
.trust-layer { background: var(--surface); padding: 3rem 5%; text-align: center; border-top: 1px solid var(--border); }
.trust-box { max-width: 1000px; margin: 0 auto; background: var(--bg-main); padding: 2.5rem; border-radius: 15px; font-size: 0.9rem; color: #64748b; border: 1px solid var(--border); }
.trust-box h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 1rem; font-family: 'Outfit', sans-serif; }
.trust-box a { color: var(--accent); text-decoration: none; font-weight: 600; }

footer { background: var(--primary); color: var(--surface); padding: 5rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; max-width: 1300px; margin: 0 auto 3rem auto; }
.footer-col h5 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--surface); font-family: 'Outfit', sans-serif; }
.footer-col ul { list-style: none; }
.footer-col a { color: #cbd5e1; text-decoration: none; transition: color 0.3s; display: block; margin-bottom: 0.8rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: #94a3b8; }

/* Cookie Banner */
#cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background: var(--surface); border-top: 4px solid var(--accent); padding: 1.5rem 5%; z-index: 9999; display: flex; justify-content: space-between; align-items: center; transition: bottom 0.5s ease; box-shadow: 0 -10px 30px rgba(0,0,0,0.1); }
#cookie-banner.show { bottom: 0; }
.cookie-text { max-width: 70%; font-size: 0.95rem; color: var(--text-main); }
.cookie-btns { display: flex; gap: 1rem; }

/* Responsive */
@media (max-width: 992px) {
    .hero, .features, .lead-section { grid-template-columns: 1fr; padding: 4rem 5%; gap: 3rem; }
    .features { padding: 3rem; margin: 3rem 5%; }
    .price-card.popular { transform: none; }
    #cookie-banner { flex-direction: column; gap: 1rem; text-align: center; }
    .cookie-text { max-width: 100%; }
}
@media (max-width: 768px) {
    .burger-btn { display: block; }
    nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--surface); transition: right 0.3s ease; display: flex; align-items: center; justify-content: center; z-index: 99; }
    nav.open { right: 0; }
    nav ul { flex-direction: column; gap: 2.5rem; text-align: center; }
    nav a { font-size: 1.5rem; color: var(--primary); }
}
