:root {
    --bg-dark: #0a0a0a;
    --text-light: #ffffff;
    --text-muted: #a1a1aa;
    --border-color: #27272a;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.landing-container {
    max-width: 900px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 0 auto;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.gradient-b2b {
    background: linear-gradient(90deg, #ffffff 0%, #a1a1aa 50%, #52525b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 3.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.cta-wrapper {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #ffffff 0%, #e4e4e7 100%);
    color: #09090b;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px 0 rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(255, 255, 255, 0.15);
}

.direct-contact {
    font-size: 0.9rem;
    color: #71717a;
    margin: 0;
}

.direct-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.direct-contact a:hover {
    color: var(--text-light);
}

.solutions-dropdown {
    margin-top: 1rem;
}

summary {
    cursor: pointer;
    list-style: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px;
}

summary::-webkit-details-marker {
    display: none;
}

summary:hover {
    color: var(--text-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transition: background 0.3s ease, border-color 0.3s ease;
    opacity: 0; /* Oculto por defecto para la animación */
}

.card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #3f3f46;
}

.card-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.card-text {
    font-size: 1rem;
    color: #e4e4e7;
    line-height: 1.4;
    margin: 0;
}

/* --- Animación en Cascada y Rebote --- */
details[open] .card {
    animation: slideBounceUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Retraso para que salgan una detrás de otra */
details[open] .card:nth-child(1) { animation-delay: 0.1s; }
details[open] .card:nth-child(2) { animation-delay: 0.25s; }
details[open] .card:nth-child(3) { animation-delay: 0.4s; }

@keyframes slideBounceUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}