/* Color Palette */
:root[data-theme="light"] {
    --primary: #D4845A;
    --primary-dark: #7A3A1E;
    --primary-light: #F0C4AD;
    --primary-rgb: 212, 132, 90;
    --bg-page: #FEFCFA;
    --bg-page-rgb: 254, 252, 250;
    --bg-surface: #FFFFFF;
    --text-main: #332F2D;
    --text-muted: #665D5A;
    --nav-bg: rgba(254, 252, 250, 0.85);
    --card-shadow: 0 15px 35px rgba(212, 132, 90, 0.08);
    --btn-text: #FFFFFF;
    --highlight: #D4845A;
    --cta-bg: #D4845A; 
    --btn-white-text: #7A3A1E;
    --border-light: rgba(212, 132, 90, 0.15);
}

:root[data-theme="dark"] {
    --primary: #D4845A;
    --primary-dark: #F7E2D6;
    --primary-light: #6B473A;
    --primary-rgb: 212, 132, 90;
    --bg-page: #1F1D1C;
    --bg-page-rgb: 31, 29, 28;
    --bg-surface: #262322;
    --text-main: #FDFBFB;
    --text-muted: #B8B3B1;
    --nav-bg: rgba(31, 29, 28, 0.85);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    --btn-text: #FFFFFF;
    --highlight: #E4A485;
    --cta-bg: #2B2624; 
    --btn-white-text: #1F1D1C; 
    --border-light: rgba(255, 255, 255, 0.05);
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }

/* Navbar - Glassmorphism */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 1rem 0;
    background-color: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; text-decoration: none; font-size: 1.5rem; font-weight: 700; }
.logo-img { height: 36px; margin-right: 0.6rem; }
.logo-al { color: var(--primary-dark); transition: color 0.4s; }
.logo-tanto { color: var(--primary); transition: color 0.4s; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-link { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.95rem; opacity: 0.8; transition: opacity 0.2s, transform 0.2s; }
.nav-link:hover { opacity: 1; transform: translateY(-1px); color: var(--primary); }
.theme-btn {
    background: none; border: 1.5px solid var(--border-light); color: var(--text-main); fill: var(--text-main);
    font-size: 1.2rem; border-radius: 50%; cursor: pointer;
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
}
.theme-btn:hover { background: var(--border-light); transform: scale(1.1) rotate(15deg); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1.1rem 2rem; border-radius: 50px; font-weight: 600; font-size: 1.05rem;
    text-decoration: none; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s; cursor: pointer;
    border: none;
}
.btn-primary {
    background-color: var(--primary); color: white;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}
.btn-primary:hover {
    background-color: var(--primary-dark); transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(var(--primary-rgb), 0.35);
}
.btn-white { background: white; color: var(--btn-white-text); }
.btn-white:hover { transform: scale(1.05); }

/* Hero Section */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 100px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.05);
}
.pulsing-dot-wrapper {
    position: relative;
    display: flex;
    height: 10px;
    width: 10px;
    align-items: center;
    justify-content: center;
}
.pulsing-dot-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.75;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.pulsing-dot-core {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}
.coming-soon-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.coming-soon-text i {
    font-size: 1.1rem;
    margin-right: -0.1rem; /* Acercar un poco más al texto */
}
@keyframes ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero {
    min-height: 100svh;
    padding: 150px 0 80px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse at 15% 50%, rgba(var(--primary-rgb), 0.05), transparent 40%),
                radial-gradient(ellipse at 85% 30%, rgba(var(--primary-rgb), 0.04), transparent 40%);
}
.hero-grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center;
}
.hero-text h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1.1; margin-bottom: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.highlight { color: var(--primary); position: relative; z-index: 1; display: inline-block; }
.highlight::after {
    content: ''; position: absolute; bottom: 8px; left: 0; width: 100%; height: 12px;
    background: var(--primary-light); z-index: -1; opacity: 0.4; border-radius: 4px;
}
.hero-text p.subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 580px; line-height: 1.7; }
.hero-text p.subtitle strong { color: var(--text-main); font-weight: 600; }

/* Form Container UI */
.waitlist-form-container { background: var(--bg-surface); padding: 2rem; border-radius: 20px; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); }
.waitlist-form { display: flex; flex-direction: column; gap: 1rem; }
.waitlist-input, .waitlist-select {
    padding: 1.1rem 1.2rem; border-radius: 12px; border: 1.5px solid var(--border-light);
    background: var(--bg-page); color: var(--text-main); font-family: inherit; font-size: 1rem;
    outline: none; transition: all 0.3s; width: 100%;
}
.waitlist-input:focus, .waitlist-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1); }
.waitlist-select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23D4845A' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80a8,8,0,0,1,11.32-11.32L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1.2rem center; background-size: 1.2rem; padding-right: 3rem;
}
.waitlist-submit { width: 100%; }
.waitlist-note { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }

/* Honeypot */
.field-alt { display: none !important; visibility: hidden !important; position: absolute !important; left: -9999px !important; }

/* Visual Mockups - Clean Side-by-Side */
.mockup-container { position: relative; padding: 2rem 0; display: flex; justify-content: center; align-items: center; }
.phone-frame-wrapper { display: flex; justify-content: center; align-items: flex-start; gap: 3rem; width: 100%; max-width: 800px; }
.mockup-column { display: flex; flex-direction: column; align-items: center; transition: all 0.4s ease; }
.mockup-label {
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--primary); margin-bottom: 2rem; padding: 0.6rem 1.2rem; border-radius: 100px;
    background: rgba(var(--primary-rgb), 0.1); border: 1px solid rgba(var(--primary-rgb), 0.2);
}
.phone-frame {
    position: relative; width: 260px; height: 540px; background: #000; border: 10px solid #1a1a1a;
    border-radius: 40px; box-shadow: 0 30px 60px rgba(0,0,0,0.2); overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.phone-frame::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 30px; box-shadow: inset 0 0 1px 1px rgba(255,255,255,0.1); pointer-events: none; z-index: 15;
}
.phone-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 22px;
    background: #1a1a1a; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; z-index: 20;
}
.mockup-img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05); }

/* Positioning & Interaction */
.mockup-1-wrapper { margin-top: 0; }
.mockup-2-wrapper { margin-top: 3.5rem; }

.phone-frame:hover { transform: translateY(-15px) scale(1.02); box-shadow: 0 45px 90px rgba(0,0,0,0.3); }

/* Features Section (AEO optimized structure) */
.features { padding: 8rem 0; background: var(--bg-page); position: relative; }
.section-title { text-align: center; font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.2; letter-spacing: -0.02em;}
.section-subtitle { text-align: center; font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.feature-card {
    background: var(--bg-surface); padding: 3rem 2.5rem; border-radius: 20px;
    box-shadow: var(--card-shadow); border: 1px solid var(--border-light);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s; position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary-light); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-main); }
.feature-card p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

/* Perspectives Section */
.perspectives { padding: 4rem 0 8rem 0; background: var(--bg-page); position: relative; }
.perspectives-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 900px; margin: 0 auto; }
.perspective-card {
    background: var(--bg-surface); padding: 3rem 2.5rem; border-radius: 20px;
    box-shadow: var(--card-shadow); border: 1px solid var(--border-light);
    transition: transform 0.4s ease;
}
.perspective-card:hover { transform: translateY(-8px); }
.perspective-card.highlight-card {
    border: 2px solid var(--primary);
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 60%), var(--bg-surface);
}
.perspective-emoji { font-size: 3.5rem; margin-bottom: 1.5rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1)); }
.perspective-card h3 { font-size: 1.6rem; color: var(--text-main); margin-bottom: 0.8rem; }
.perspective-card p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.6; }
.perspective-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.perspective-list li { display: flex; align-items: flex-start; color: var(--text-main); font-weight: 500; font-size: 1.05rem; }
.list-icon { font-size: 1.4rem; margin-right: 0.8rem; margin-top: 0.1rem; color: #4CAF50; }
.highlight-icon { color: var(--primary); }

/* FAQ Section (AEO Native Accordion) */
.faq { padding: 6rem 0; background: var(--bg-page); }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
details.faq-item {
    background: var(--bg-surface); border: 1px solid var(--border-light); padding: 1.5rem 2rem; border-radius: 16px;
    box-shadow: var(--card-shadow); transition: all 0.3s;
}
details.faq-item[open] { border-color: var(--primary); box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1); }
details.faq-item summary {
    font-size: 1.2rem; font-weight: 600; color: var(--primary-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; outline: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
    content: '+'; font-size: 2rem; font-weight: 300; line-height: 1; transition: transform 0.3s; color: var(--primary);
}
details.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
details.faq-item p { margin-top: 1.2rem; color: var(--text-muted); line-height: 1.7; padding-right: 2rem; }

/* CTA Section */
.cta { padding: 8rem 0; background: var(--bg-page); }
.cta-card {
    background: var(--cta-bg); 
    background-image: radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 50%), radial-gradient(circle at bottom left, rgba(0,0,0,0.1), transparent 50%);
    color: white; padding: 5rem 3rem; border-radius: 32px; text-align: center; box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.25);
    border: 1px solid rgba(255,255,255,0.1);
}
.cta-card h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; letter-spacing: -0.01em;}
.cta-card p { font-size: 1.25rem; margin-bottom: 3.5rem; opacity: 0.95; max-width: 650px; margin-left: auto; margin-right: auto;}
.cta-card .btn-white { padding: 1.2rem 3rem; font-size: 1.2rem; }

/* Footer */
footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border-light); text-align: center; color: var(--text-muted); background: var(--bg-page); }
.footer-logo { display: inline-flex; align-items: center; font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main); text-decoration: none;}
.footer-logo span:first-child { color: var(--primary-dark); }
.footer-logo span:last-child { color: var(--primary); }
.footer-content { margin-bottom: 2rem;}

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

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-text p.subtitle { margin: 0 auto 2.5rem; }
    .waitlist-form-container { max-width: 600px; margin: 0 auto; text-align: left; }
    .features { padding: 6rem 0; }
    .cta { padding: 6rem 0; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.2rem; }
    .hero-text h1 { font-size: clamp(2.2rem, 8vw, 2.8rem); line-height: 1.15; }
    .waitlist-form-container { padding: 1.5rem 1rem; width: 100%; box-sizing: border-box; }
    .waitlist-form { width: 100%; overflow: hidden; }
    
    .phone-frame-wrapper { flex-direction: column; align-items: center; gap: 3rem; overflow: hidden; max-width: 100vw;}
    .phone-frame { transform-origin: center; transform: scale(0.95); margin: 0 auto; }
    .phone-frame:hover { transform: translateY(-10px) scale(0.98); }
    
    .mockup-1-wrapper, .mockup-2-wrapper { margin-top: 0; width: 100%; }
    .feature-card { padding: 1.8rem 1.5rem; }
    .perspective-card { padding: 2rem 1.5rem; }
    .perspectives-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cta-card { padding: 3rem 1.5rem; }
    .cta-card h2 { font-size: 2rem; }
}
