/* landing/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;300;400;600;700;900&display=swap');

:root {
    --primary: #1e3a8a; /* Deep Blue (Trust) */
    --primary-light: #3b82f6;
    --accent: #f97316; /* Vibrant Orange (Action) */
    --accent-dark: #ea580c;
    --secondary: #0f172a;
    --background: #ffffff;
    --bg-subtle: #f8fafc;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --gradient: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 36px;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
        list-style: none;
    }
}

.nav-links a {
    text-decoration: none;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    opacity: 0.7;
}

.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Hero Section */
.hero {
    padding: 12rem 5% 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        text-align: left;
        gap: 6rem;
    }
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    border: 1px solid #dbeafe;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2.5px;
    margin-bottom: 2rem;
    color: var(--secondary);
}

h1 span, .highlight {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: #dbeafe;
    z-index: -1;
    border-radius: 4px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    font-weight: 500;
}

.cta-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.1rem 2.5rem;
    border-radius: 1.25rem;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(249, 115, 22, 0.4);
}

.btn-outline {
    border: 2px solid #e2e8f0;
    color: var(--secondary);
    background: white;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1.3;
    position: relative;
    width: 100%;
}

/* Browser Mockup Framework */
.browser-mockup {
    position: relative;
    background: #ffffff;
    border-radius: 12px 12px 24px 24px;
    padding-top: 2.2rem;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.15), 0 30px 60px -30px rgba(0,0,0,0.2);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.browser-mockup::before {
    content: '';
    position: absolute;
    top: 0.9rem;
    left: 1rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #ff5f56;
    box-shadow: 1.2rem 0 0 #ffbd2e, 2.4rem 0 0 #27c93f;
    z-index: 10;
}

.browser-mockup img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* Feature Grid */
.section-padding {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

@media (min-width: 1200px) {
    #soluciones .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    padding: 3.5rem;
    border-radius: 3rem;
    background: var(--bg-subtle);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.card:hover {
    background: white;
    transform: translateY(-12px);
    border-color: #e2e8f0;
    box-shadow: var(--shadow-premium);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    color: var(--primary);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

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

/* Problem Section (Dark Cards) */
.pain-points {
    background: var(--bg-subtle);
}

.card-dark {
    background: var(--secondary);
    color: white;
}

.card-dark h3 { color: white; }
.card-dark p { color: #94a3b8; }

/* Pricing Enhanced */
.pricing-card {
    max-width: 550px;
    margin: 4rem auto;
    padding: 5rem 3rem;
    background: white;
    border-radius: 4rem;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
}

.pricing-card.premium {
    border: 4px solid var(--primary);
    box-shadow: 0 60px 120px -30px rgba(30, 58, 138, 0.15);
}

.ribbon {
    position: absolute;
    top: 35px;
    right: -40px;
    background: var(--accent);
    color: white;
    padding: 0.6rem 4rem;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
    z-index: 10;
}

.main-price {
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -4px;
    line-height: 1;
    margin: 2.5rem 0;
}

.main-price .suffix {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 0;
    font-weight: 700;
}

.price-list {
    list-style: none;
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.price-list li {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.price-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 900;
    flex-shrink: 0;
}

.full-width {
    width: 100%;
    justify-content: center;
}

.pricing-footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Footer */
footer {
    padding: 6rem 5% 4rem;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 900;
}

.footer-links h4 {
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--secondary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

/* FAQ Accordion Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.faq-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: #e2e8f0;
}

.faq-header {
    padding: 2.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--secondary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    background: #fafafa;
}

.faq-content-inner {
    padding: 0 2.5rem 2.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
}

.faq-card.active .faq-content {
    max-height: 1000px;
    transition: all 1s cubic-bezier(1, 0, 1, 0);
}

.faq-card.active {
    border-color: var(--primary-light);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    transition: transform 0.4s;
}

.faq-card.active .faq-toggle {
    transform: rotate(180deg);
    background: var(--primary);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .footer-content { grid-template-columns: 1fr; }
    .pricing-card { padding: 3rem 2rem; }
}
